meta: Move config from yaml to toml
Toml is the standard in Hugo
This commit is contained in:
parent
c54d326684
commit
eb7cfb4149
2 changed files with 29 additions and 23 deletions
29
hugo.toml
Normal file
29
hugo.toml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
baseURL = "https://jankremer.eu/"
|
||||||
|
title = "Jan Kremer"
|
||||||
|
copyright = "CC0 1.0"
|
||||||
|
defaultContentLanguage = "de"
|
||||||
|
enableGitInfo = true
|
||||||
|
|
||||||
|
[markup]
|
||||||
|
[markup.goldmark]
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
[markup.highlight]
|
||||||
|
style = "rose-pine-dawn"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
[params.author]
|
||||||
|
name = "Jan Kremer"
|
||||||
|
email = "mail@jankremer.eu"
|
||||||
|
|
||||||
|
[menus]
|
||||||
|
|
||||||
|
[[menus.main]]
|
||||||
|
name = "Blog"
|
||||||
|
pageRef = "/"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[menus.main]]
|
||||||
|
name = "Über mich"
|
||||||
|
pageRef = "/about"
|
||||||
|
weight = 2
|
||||||
23
hugo.yaml
23
hugo.yaml
|
|
@ -1,23 +0,0 @@
|
||||||
baseURL: https://jankremer.eu/
|
|
||||||
title: Jan Kremer
|
|
||||||
copyright: CC0 1.0
|
|
||||||
defaultContentLanguage: de
|
|
||||||
enableGitInfo: true
|
|
||||||
markup:
|
|
||||||
goldmark:
|
|
||||||
renderer:
|
|
||||||
unsafe: true
|
|
||||||
highlight:
|
|
||||||
style: rose-pine-dawn
|
|
||||||
params:
|
|
||||||
author:
|
|
||||||
name: Jan Kremer
|
|
||||||
email: mail@jankremer.eu
|
|
||||||
menus:
|
|
||||||
main:
|
|
||||||
- name: Blog
|
|
||||||
pageRef: /
|
|
||||||
weight: 1
|
|
||||||
- name: Über mich
|
|
||||||
pageRef: /about
|
|
||||||
weight: 2
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue