period no longer handled by template and repurposed as subtitle
This commit is contained in:
parent
c54497eabb
commit
cc0e8ae299
8 changed files with 49 additions and 50 deletions
2
libs/types/src/config/globals.d.ts
vendored
2
libs/types/src/config/globals.d.ts
vendored
|
@ -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[]
|
||||
|
|
6
libs/types/src/config/routing.d.ts
vendored
6
libs/types/src/config/routing.d.ts
vendored
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue