From c9a8304586b4121f0eb2abe0fad9f018136d7fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 20 Mar 2023 08:02:13 +0200 Subject: [PATCH] hugo.toml -> config.toml (toimii vanhemmillakin hugon versioilla) --- config.toml | 46 +++++++++++++++++++++++++++++++++++++-------- hugo.toml | 54 ----------------------------------------------------- 2 files changed, 38 insertions(+), 62 deletions(-) delete mode 100644 hugo.toml diff --git a/config.toml b/config.toml index 1fafb81..ccfce12 100644 --- a/config.toml +++ b/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 diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index bd68ac1..0000000 --- a/hugo.toml +++ /dev/null @@ -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