Skip to content

Commit

Permalink
Stash small tweaks
Browse files Browse the repository at this point in the history
emmbm committed Feb 2, 2024
1 parent d6c1ab1 commit d5169f8
Showing 2 changed files with 37 additions and 3 deletions.
34 changes: 34 additions & 0 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
@@ -24,3 +24,37 @@ collections:
- { label: 'Publish Date', name: 'date', widget: 'datetime', i18n: true }
- { label: 'Featured Image', name: 'thumbnail', widget: 'image', i18n: true }
- { label: 'Body', name: 'body', widget: 'markdown', i18n: true }
- name: members
label: Members
folder: 'members'
create: true
i18n: true
fields:
- { label: 'First name', name: 'first_name', widget: 'string', i18n: false }
- {
label: 'Middle name',
name: 'middle_name',
widget: 'string',
i18n: false,
required: false,
}
- { label: 'Last name', name: 'first_name', widget: 'string', i18n: false }
- name: posts
label: Posts
folder: posts
create: true
i18n: true
fields:
- label: Title
name: title
widget: 'string'
i18n: true
- label: Events
name: events
widget: list
fields:
- label: event
widget: relation
- name: equipment
label: Equipment
folder: equipment
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ export default defineConfig({
sveltekit(),
paraglide({
project: './project.inlang',
outdir: './src/lib/i18n/generated'
})
]
outdir: './src/lib/i18n/generated',
}),
],
});

0 comments on commit d5169f8

Please sign in to comment.