hugo.toml -> config.toml (toimii vanhemmillakin hugon versioilla)

This commit is contained in:
Marek Nečada 2023-03-20 08:02:13 +02:00
parent 4d3933c027
commit c9a8304586
2 changed files with 38 additions and 62 deletions

View File

@ -1,14 +1,30 @@
baseURL = "https://necada.org/" baseURL = "https://necada.org"
languageCode = "fi-FI"
title = "Marek Nečada" title = "Marek Nečada"
theme = "researcher" 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] [params]
author = "Marek Nečada" author = "Marek Nečada"
description = "Piraatti Marek Nečada ehdolla Helsingin kaupunginvaltuustoon" description = "Piraatti Marek Nečada ehdolla Eduskuntaan"
favicon = "Piratpartiet.svg" 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] [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]
[[menu.main]] [[menu.main]]
@ -18,8 +34,22 @@ theme = "researcher"
[[menu.main]] [[menu.main]]
name = "Yhteystiedot" name = "Yhteystiedot"
url = "/yhteystiedot" url = "/yhteystiedot"
weight = 3 weight = 4
[[menu.main]] [[menu.main]]
name = "Kuntavaalit 2021" name = "Eduskuntavaalit 2023"
url = "/helsinki2021" 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 weight = 1

View File

@ -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