period no longer handled by template and repurposed as subtitle

This commit is contained in:
lightling 2024-05-13 17:36:55 -04:00
parent c54497eabb
commit cc0e8ae299
8 changed files with 49 additions and 50 deletions

View file

@ -5,7 +5,7 @@ import type { WarningModal } from './warnings'
/**
* Defines global values for the site.
*/
type SiteGlobals = {
export type SiteGlobals = {
header: HeaderEntry[]
id: string
stylesheetUrls: string[]

View file

@ -67,3 +67,9 @@ export type RouteDefinition =
* Defines the collection of routes the app uses
*/
export type RouteCollection = { [key: string]: RouteDefinition }
export interface RoutedWindow extends Window {
routeConfig: RouteDefinition
routeSubConfig: any
routeContentConfig: any
}

View file

@ -1,4 +1,3 @@
import type { DateRange } from '../dateRange'
import type { EntryTagCollection } from '../entryTag'
/**
@ -11,10 +10,10 @@ export type ProjectListingInfo = {
* Caption displayed below the title of the project on the projects page
*/
caption?: string
/**
* When defined, the period will be displayed as {from} - {to}
/**[Supports Markdown]
* Optional subtitle for the project
*/
period?: DateRange
subtitle?: string
/**[Supports Markdown]
* Information to summarize a project
*/