website-v3/.pages.yml

133 lines
No EOL
3.3 KiB
YAML

media:
input: static/assets
output: assets
content:
- name: general
label: General
type: file
format: toml
path: hugo.toml
icon: file-cog
fields:
- name: baseURL
label: Website Base URL
type: string
required: true
- name: defaultContentLanguage
label: Default Language
description: Internal language code (eg. en, de)
type: string
required: true
- name: params
label: Parameters
type: object
fields:
- name: author
label: Author
type: string
required: false
- name: twitterUsername
label: Twitter Username
description: Eg. @username
type: string
- name: pagetype
label: Pagetype
description: Sets the HTML metatag for pagetype
type: select
options:
values:
- value: website
- value: article
- value: blog
- value: book
- value: game
- value: movie
- value: city
- value: country
- value: profile
required: false
- name: legalLink
label: Legal Page URL
description: The URL for the link "Legal" in the Footer
type: string
required: true
- name: faviconPath
label: Favicon (PNG)
type: image
required: true
options:
path: static/assets/logo
extensions: [png]
- name: faviconPathSVG
label: Favicon (SVG)
type: image
required: true
options:
path: static/assets/logo
extensions: [svg]
- name: themeColor
label: Theme Color
description: Color for browsers head on mobile
type: string
- name: umamiUrl
label: Umami Script URL
type: string
- name: websiteId
label: Umami Website ID
type: string
- name: socialmedia
label: Social Media
type: file
path: data/socialmedia.yml
icon: instagram
list: true
fields:
- name: name
label: Name
type: string
required: true
- name: link
label: URL
type: string
required: true
- name: icon
label: Icon name
description: Icon from akaricons.com
type: string
required: true
- name: footer
label: Visible in footer?
description: Determines if social media icon is visible in footer or not
type: boolean
default: False
- name: tags
label: Project Tags
type: file
path: data/tags.yml
icon: tag
list: true
fields:
- name: title
label: Name
type: string
required: true
- name: slug
label: Slug
description: How the tags are named under the hood (in the background)
type: string
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