mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
add tags & social media
This commit is contained in:
parent
2607ad353c
commit
3da65df407
1 changed files with 43 additions and 50 deletions
93
.pages.yml
93
.pages.yml
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue