Squashed 'cms/core/' content from commit 2f52ec7

git-subtree-dir: cms/core
git-subtree-split: 2f52ec7536ee87b4f097d169e1cb0f6a85aebe84
This commit is contained in:
2026-06-30 00:09:44 +02:00
commit 80eca1bc7c
53 changed files with 6896 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
// karimgabrielevarano.xyz — second consumer of openbureau-core.
// No dialog plugin; a portfolio-shaped content model.
export default {
site: 'kgva',
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' },
],
},
],
};