// kgva site config — consumed by openbureau-core (vendored at cms/core) via // CMS_CONFIG. DB-less: auth 'local' (file users), no plugins. Bilingual content // (.de.md) lists as separate entries (edit each language file on its own). export default { site: 'kgva', auth: 'local', admins: ['karim@gabrielevarano.ch'], plugins: [], collections: [ { kind: 'project', label: 'Portfolio', order: 0, path: 'portfolio/:slug', statKey: 'portfolio', fields: [ { name: 'title', type: 'string', required: true }, { name: 'slug', type: 'slug' }, { name: 'date', type: 'date' }, { name: 'draft', type: 'bool', default: true }, { name: 'thumbnail', type: 'image' }, { name: 'video', type: 'string', hint: '/media/x.mp4' }, { name: 'studies', type: 'string', hint: '/studies/hslu/ba/semester_05' }, { name: 'schools', type: 'list' }, { name: 'degrees', type: 'list' }, { name: 'semesters', type: 'list' }, { name: 'body', type: 'markdown' }, // NB: image galleries (`images:`) and any other frontmatter not modelled // here are PRESERVED on save (the editor keeps unknown keys). ], }, { kind: 'page', label: 'Seiten', order: 1, fallback: true, statKey: 'pages', fields: [ { name: 'title', type: 'string', required: true }, { name: 'description', type: 'string' }, { name: 'layout', type: 'string' }, { name: 'body', type: 'markdown' }, ], }, { kind: 'section', label: 'Index-Seiten', order: 2, index: true, statKey: 'sections', fields: [ { name: 'title', type: 'string' }, { name: 'description', type: 'string' }, { name: 'body', type: 'markdown' }, ], }, ], };