add tags & social media

This commit is contained in:
Michi 2025-04-06 10:50:09 +02:00
parent 2607ad353c
commit 3da65df407

View file

@ -77,64 +77,57 @@ content:
label: Umami Website ID label: Umami Website ID
type: string type: string
- name: languages
label: Languages
- name: socialmedia
label: Social Media
type: file type: file
format: toml path: data/socialmedia.yml
path: hugo.toml icon: instagram
icon: languages
list: true list: true
fields: fields:
- name: contentDir - name: name
label: Content directory label: Name
description: The directory where the content of the choosen language is stored type: string
type: string required: true
required: true - name: link
- name: languageName label: URL
label: Friendly name type: string
type: string required: true
required: true - name: icon
- name: languageCode label: Icon name
label: Language Code description: Icon from akaricons.com
description: Eg. de-CH, en-CH type: string
type: string required: true
required: true - name: footer
- name: weight label: Visible in footer?
label: Weight description: Determines if social media icon is visible in footer or not
type: number type: boolean
required: true default: False
options:
min: 0
- name: tags
label: Project Tags
- name: projects
label: Projects
type: file type: file
path: hugo/data/projects.yml path: data/tags.yml
icon: panels-top-left icon: tag
list: true list: true
fields: fields:
- name: title - name: title
label: Title label: Name
description: Project Name
type: string type: string
required: true required: true
- name: logo - name: slug
label: Logo label: Slug
type: image description: How the tags are named under the hood (in the background)
required: true
options:
path: hugo/static/media/logos
categories: [ image ]
- name: backgroundImage
label: Background Image
type: image
required: true
options:
path: hugo/static/media/backgrounds
categories: [ image ]
- name: link
label: Link
type: string type: string
required: false required: true
- name: icon
label: Icon name
description: Icon from akaricons.com
type: string
required: true
- name: checked
label: Enabled by default
description: Determines if the tag is shown by default
type: boolean
default: True