GoBlog/example-config.yaml

70 lines
1.4 KiB
YAML
Raw Normal View History

2020-07-28 19:17:07 +00:00
server:
logging: false
2020-10-12 18:23:21 +00:00
debug: false
2020-07-28 19:17:07 +00:00
port: 8080
2020-08-01 15:49:46 +00:00
domain: example.com
2020-10-06 17:07:48 +00:00
publicAddress: http://localhost:8080
2020-08-01 15:49:46 +00:00
publicHttps: false
letsEncryptMail: mail@example.com
localHttps: false
2020-07-28 19:17:07 +00:00
database:
2020-07-31 13:48:01 +00:00
file: data/db.sqlite
cache:
enable: true
expiration: 600
2020-10-06 17:07:48 +00:00
blogs:
main:
path: /
2020-10-12 17:46:14 +00:00
lang: en_US
2020-10-06 17:07:48 +00:00
title: My blog
description: This is my blog
sections:
- name: posts
title: Posts
description: "**Posts** on this blog"
taxonomies:
- name: tags
title: Tags
description: "**Tags** on this blog"
menus:
main:
items:
- title: Home
link: /
- title: Posts
link: /posts
photos:
enable: true
parameter: images
path: /photos
title: Photos
description: "Photos on this blog"
activitystreams:
enable: true
replyParameter: replylink
imagesParameter: images
user:
nick: admin
name: Admin
password: secret
hugo:
frontmatter:
- meta: title
parameter: title
- meta: tags
2020-10-06 17:07:48 +00:00
parameter: tags
micropub:
categoryParam: tags
replyParam: replylink
likeParam: likelink
bookmarkParam: link
audioParam: audio
photoParam: images
2020-10-15 18:54:43 +00:00
photoDescriptionParam: imagealts
pathRedirects:
- from: "\\/index\\.xml"
to: ".rss"
- from: "\\/feed\\.json"
to: ".json"
- from: "\\/(feed|rss)\\/?$"
to: ".rss"