127 lines
3.5 KiB
YAML
127 lines
3.5 KiB
YAML
|
name: Aura Authors
|
||
|
version: 1.0.0
|
||
|
description: Store author bios in a central repository for display on multiple pages.
|
||
|
icon: users
|
||
|
author:
|
||
|
name: Matt Mulhall
|
||
|
email: matt@theskylab.net
|
||
|
url: https://www.theskylab.net
|
||
|
homepage: https://github.com/matt-j-m/grav-plugin-aura-authors
|
||
|
keywords: author, bio, blog
|
||
|
bugs: https://github.com/matt-j-m/grav-plugin-aura-authors/issues
|
||
|
license: MIT
|
||
|
|
||
|
form:
|
||
|
validation: strict
|
||
|
fields:
|
||
|
enabled:
|
||
|
type: toggle
|
||
|
label: PLUGIN_ADMIN.PLUGIN_STATUS
|
||
|
highlight: 1
|
||
|
default: 0
|
||
|
options:
|
||
|
1: PLUGIN_ADMIN.ENABLED
|
||
|
0: PLUGIN_ADMIN.DISABLED
|
||
|
validate:
|
||
|
type: bool
|
||
|
include-css:
|
||
|
type: toggle
|
||
|
label: Include default CSS
|
||
|
highlight: 1
|
||
|
default: 1
|
||
|
options:
|
||
|
1: PLUGIN_ADMIN.ENABLED
|
||
|
0: PLUGIN_ADMIN.DISABLED
|
||
|
validate:
|
||
|
type: bool
|
||
|
authors:
|
||
|
type: list
|
||
|
label: Author details
|
||
|
help: "Add or edit author details"
|
||
|
fields:
|
||
|
.name:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Name
|
||
|
validate:
|
||
|
required: true
|
||
|
.label:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Taxonomy Label
|
||
|
validate:
|
||
|
pattern: "[a-z][a-zA-Z0-9]*$"
|
||
|
message: "Use all lowercase letters and replace spaces with hyphens."
|
||
|
required: true
|
||
|
.image:
|
||
|
type: file
|
||
|
size: large
|
||
|
label: Image
|
||
|
multiple: false
|
||
|
destination: 'user/images'
|
||
|
accept:
|
||
|
- image/*
|
||
|
.description:
|
||
|
type: textarea
|
||
|
size: long
|
||
|
label: Description
|
||
|
.person-mastodon-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Mastodon URL
|
||
|
placeholder: 'https://fosstodon.org/@techsaviours'
|
||
|
.person-matrix-org-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Matrix URL
|
||
|
placeholder: 'https://chat.techsaviours.org/#/user/@user:techsaviours.org'
|
||
|
.person-gitea-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Gitea URL
|
||
|
placeholder: 'https://git.techsaviours.org/user'
|
||
|
.person-github-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: GitHub URL
|
||
|
placeholder: 'https://github.com/user'
|
||
|
.person-envelope-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Email Address
|
||
|
placeholder: user@techsaviours.nz'
|
||
|
.person-facebook-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Facebook URL
|
||
|
placeholder: 'https://www.facebook.com/username'
|
||
|
.person-twitter-user:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Twitter Username
|
||
|
placeholder: 'username'
|
||
|
.person-instagram-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Instagram URL
|
||
|
placeholder: 'https://www.instagram.com/username'
|
||
|
.person-linkedin-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: LinkedIn URL
|
||
|
placeholder: 'https://www.linkedin.com/in/name'
|
||
|
.person-pinterest-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: Pinterest URL
|
||
|
placeholder: 'https://www.pinterest.com/user/username'
|
||
|
.person-youtube-url:
|
||
|
type: text
|
||
|
size: large
|
||
|
label: YouTube URL
|
||
|
placeholder: 'https://www.youtube.com/username'
|
||
|
.person-website-url:
|
||
|
type: text
|
||
|
label: Website URL
|
||
|
placeholder: 'https://www.example.com'
|