Files
OPENBUREAU/examples/kgva.config.js
T
karim f518eb7a13 Squashed 'cms/core/' changes from f709b5d..ac7538f
ac7538f chore: gitignore admin/dist build output
86f9f57 core: stage 7 — auth provider (config.auth: supabase | local), DB-less core

git-subtree-dir: cms/core
git-subtree-split: ac7538fa0c2c883e29fe67c8d8c15c5f40fa2230
2026-06-30 01:24:44 +02:00

47 lines
1.6 KiB
JavaScript

// karimgabrielevarano.xyz — second consumer of openbureau-core.
// No dialog plugin; a portfolio-shaped content model.
export default {
site: 'kgva',
auth: 'local', // DB-less: file-based users + self-signed JWTs (no Supabase/Postgres)
admins: ['karim@gabrielevarano.ch'],
plugins: [],
collections: [
{
kind: 'project', label: 'Portfolio', order: 0,
path: 'portfolio/:slug',
statKey: 'projects',
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: 'studies', type: 'string', hint: '/studies/hslu/ba/semester_05' },
{ name: 'schools', type: 'list' },
{ name: 'degrees', type: 'list' },
{ name: 'semesters', type: 'list' },
{ name: 'video', type: 'string', hint: '/media/x.mp4' },
{ name: 'images', type: 'list', of: { src: 'image', name: 'string' } },
{ name: 'body', type: 'markdown' },
],
},
{
kind: 'page', label: 'Pages', order: 1, fallback: true,
fields: [
{ name: 'title', type: 'string', required: true },
{ name: 'description', type: 'string' },
{ name: 'layout', type: 'string' },
{ name: 'body', type: 'markdown' },
],
},
{
kind: 'section', label: 'Sections', order: 2, index: true,
fields: [
{ name: 'title', type: 'string' },
{ name: 'description', type: 'string' },
],
},
],
};