Refactor site generation into a modular content pipeline
Deploy website / deploy (push) Successful in 24s

This commit is contained in:
paul committed 2026-09-22 20:51:13 -04:00
1 parent 0f69028d4a
commit 146d516f24
20 files changed
+826 -427

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
export const siteName = 'PaulW.XYZ'
export const siteUrl = 'https://paulw.xyz'
export const generatedRoot = '.generated'
export const contentDirectories = ['notes', 'posts']
export const standalonePages = [
{ source: 'README.md', path: 'about', title: 'About' },
{ source: 'THIRD_PARTY_LICENSES.md', path: 'licenses', title: 'Licenses' },
]
export const navLabels = {
notes: 'Notes',
posts: 'Posts',
about: 'About',
licenses: 'Licenses',
}
export const contentSources = [
...contentDirectories,
...standalonePages.map(({ source }) => source),
'external.json',
'generator.js',
'content.js',
'feed.js',
'html.js',
'markdown.js',
'output.js',
'site.config.js',
]