hugo.toml -> config.toml (toimii vanhemmillakin hugon versioilla)
This commit is contained in:
parent
4d3933c027
commit
c9a8304586
46
config.toml
46
config.toml
|
@ -1,14 +1,30 @@
|
|||
baseURL = "https://necada.org/"
|
||||
languageCode = "fi-FI"
|
||||
baseURL = "https://necada.org"
|
||||
title = "Marek Nečada"
|
||||
theme = "researcher"
|
||||
languageCode = "fi-FI"
|
||||
defaultContentLanguage = "fi"
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
enableEmoji = false
|
||||
math = false # enable KaTeX (https://katex.org/) globally
|
||||
# googleAnalytics = "" # add your tracking id
|
||||
|
||||
[params]
|
||||
author = "Marek Nečada"
|
||||
description = "Piraatti Marek Nečada ehdolla Helsingin kaupunginvaltuustoon"
|
||||
favicon = "Piratpartiet.svg"
|
||||
description = "Piraatti Marek Nečada ehdolla Eduskuntaan"
|
||||
favicon = "Piratpartiet.svg" # path to a .ico to use as favicon
|
||||
logo = "" # url or path to a logo to put in the header
|
||||
[params.footer]
|
||||
# todo
|
||||
text = ""
|
||||
url = "https://necada.org"
|
||||
[params.style] # appearance options (can be omitted)
|
||||
fontFamily = "Inconsolata"
|
||||
pageWidth = "750px"
|
||||
avatarSize = "90px"
|
||||
colorBlack = "#222222"
|
||||
colorRed = "#dc3545"
|
||||
|
||||
[permalinks]
|
||||
"/" = "/:filename"
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
|
@ -18,8 +34,22 @@ theme = "researcher"
|
|||
[[menu.main]]
|
||||
name = "Yhteystiedot"
|
||||
url = "/yhteystiedot"
|
||||
weight = 3
|
||||
weight = 4
|
||||
[[menu.main]]
|
||||
name = "Kuntavaalit 2021"
|
||||
url = "/helsinki2021"
|
||||
name = "Eduskuntavaalit 2023"
|
||||
url = "/eduskunta2023"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
name = "Kysymykset & vastaukset"
|
||||
url = "/qa"
|
||||
weight = 3
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true # allow raw HTML in markdown files
|
||||
|
||||
[languages]
|
||||
[languages.fi]
|
||||
baseURL = 'https://necada.org'
|
||||
languageName = 'suomi'
|
||||
title = 'Marek Nečada'
|
||||
weight = 1
|
||||
|
|
54
hugo.toml
54
hugo.toml
|
@ -1,54 +0,0 @@
|
|||
baseURL = "https://necada.org"
|
||||
title = "Marek Nečada"
|
||||
theme = "researcher"
|
||||
defaultContentLanguage = "fi"
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
enableEmoji = false
|
||||
math = false # enable KaTeX (https://katex.org/) globally
|
||||
# googleAnalytics = "" # add your tracking id
|
||||
|
||||
[params]
|
||||
author = "Marek Nečada"
|
||||
description = "Piraatti Marek Nečada ehdolla Eduskuntaan"
|
||||
favicon = "Piratpartiet.svg" # path to a .ico to use as favicon
|
||||
logo = "" # url or path to a logo to put in the header
|
||||
[params.footer]
|
||||
text = ""
|
||||
url = "https://necada.org"
|
||||
[params.style] # appearance options (can be omitted)
|
||||
fontFamily = "Inconsolata"
|
||||
pageWidth = "750px"
|
||||
avatarSize = "90px"
|
||||
colorBlack = "#222222"
|
||||
colorRed = "#dc3545"
|
||||
|
||||
[permalinks]
|
||||
"/" = "/:filename"
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = "Esittely"
|
||||
url = "/esittely"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
name = "Yhteystiedot"
|
||||
url = "/yhteystiedot"
|
||||
weight = 4
|
||||
[[menu.main]]
|
||||
name = "Eduskuntavaalit 2023"
|
||||
url = "/eduskunta2023"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
name = "Kysymykset & vastaukset"
|
||||
url = "/qa"
|
||||
weight = 3
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true # allow raw HTML in markdown files
|
||||
|
||||
[languages]
|
||||
[languages.fi]
|
||||
baseURL = 'https://necada.org'
|
||||
languageName = 'suomi'
|
||||
title = 'Marek Nečada'
|
||||
weight = 1
|
Loading…
Reference in New Issue