Static CMS v4 (#246)
All checks were successful
website-main / prod-build (push) Successful in 23s
website-main / test-build (push) Successful in 5s

- Static CMS v4
- switch from jsdelivr to unpkg due to performance issues
- custom themes
- preset view_group

Reviewed-on: #246
This commit is contained in:
2023-11-03 19:03:19 +01:00
parent e68fa0877f
commit c4206b7d34
8 changed files with 98 additions and 48 deletions

View File

@ -7,6 +7,7 @@ import {
StatsCollection,
SuperhaufenCollection,
} from "./collections/index.js";
import { GCGThemeDark, GCGThemeLight } from "./themes.js";
const config = {
backend: {
@ -38,6 +39,13 @@ const config = {
clean_accents: true,
sanitize_replacement: "-",
},
theme: {
include_built_in_themes: false,
themes: [
GCGThemeDark,
GCGThemeLight
]
},
collections: [
ChronikjahreCollection,
SuperhaufenCollection,