GoBlog/example-config.yaml

52 lines
987 B
YAML
Raw Normal View History

2020-07-28 19:17:07 +00:00
server:
logging: false
port: 8080
2020-08-01 15:49:46 +00:00
domain: example.com
publicAdress: 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
blog:
lang: en
title: My blog
description: This is my blog
2020-08-25 18:55:32 +00:00
sections:
- name: posts
title: Posts
description: "**Posts** on this blog"
2020-08-31 19:12:43 +00:00
taxonomies:
- name: tags
title: Tags
description: "**Tags** on this blog"
2020-09-19 11:37:58 +00:00
menus:
2020-09-20 15:28:24 +00:00
main:
2020-09-19 11:37:58 +00:00
items:
- title: Home
link: /
- title: Posts
link: /posts
2020-09-21 16:03:05 +00:00
photos:
enable: true
parameter: images
path: /photos
title: Photos
description: "Photos on this blog"
2020-09-24 15:13:03 +00:00
activitystreams:
enable: true
replyParameter: replylink
imagesParameter: images
user:
nick: admin
name: Admin
password: secret
hugo:
frontmatter:
- meta: title
parameter: title
- meta: tags
parameter: tags