Use config.yaml not toml

This commit is contained in:
Benjamin Bach 2020-04-05 22:14:54 +02:00
parent 0de889b0c5
commit 710dbe0f00
Signed by: benjaoming
GPG key ID: 7D49441634585664
40 changed files with 78 additions and 81 deletions

View file

@ -1,80 +0,0 @@
baseURL = "https://example.com"
languageCode = "en-us"
title = "Some Title"
theme = "minimal-bootstrap-hugo-theme"
[taxonomies]
tag = "tags"
[permalinks]
post = "/:filename/"
[params]
description = "Some description"
contentBackgroundColor = "#fff"
contentTextColor = "#212529"
contentLinkColor = "#007bff"
contentLinkHoverColor = "#0056b3"
navbarBackgroundColor = "#212529"
navbarLinkColor = "rgba(255, 255, 255, 0.75)"
navbarLinkHoverColor = "rgba(255, 255, 255, 1)"
wrapperMaxWidth = "800px"
customDateFormat = "Jan 2, 2006"
customCodeStyle = true
customBlockquoteStyle = true
showPostSummary = false
googleAnalytics = "UA-123456789-1"
cookieConsent = true
includeBootstrapJs = false
faviconSafariPinnedTabColor = "#5bbad5"
faviconMsApplicationTileColor = "#da532c"
faviconThemeColor = "#ffffff"
[menu]
[[menu.nav]]
name = "Posts"
url = "/"
weight = 1
[[menu.nav]]
name = "Tags"
url = "/tags/"
weight = 2
[[menu.nav]]
name = "About"
url = "/about/"
weight = 3
[[menu.nav]]
name = "RSS"
url = "/index.xml"
weight = 4
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.parser]
attribute = true
autoHeadingID = true
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xHTML = false
[markup.highlight]
codeFences = true
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = "monokai"
tabWidth = 4
[markup.tableOfContents]
endLevel = 6
startLevel = 2

78
config.yaml Normal file
View file

@ -0,0 +1,78 @@
baseURL: https://new.data.coop
DefaultContentLanguage: da
languageCode: da-dk
title: data.coop
theme: data-coop-gerning
taxonomies:
tag: tags
permalinks:
post: "/:filename/"
params:
description: "Some description"
contentBackgroundColor: "#fff"
contentTextColor: "#212529"
contentLinkColor: "#007bff"
contentLinkHoverColor: "#0056b3"
navbarBackgroundColor: "#212529"
navbarLinkColor: "rgba(255, 255, 255, 0.75)"
navbarLinkHoverColor: "rgba(255, 255, 255, 1)"
wrapperMaxWidth: "800px"
customDateFormat: "Jan 2, 2006"
customCodeStyle: true
customBlockquoteStyle: true
showPostSummary: false
googleAnalytics: "UA-123456789-1"
cookieConsent: true
includeBootstrapJs: false
faviconSafariPinnedTabColor: "#5bbad5"
faviconMsApplicationTileColor: "#da532c"
faviconThemeColor: "#ffffff"
menu:
nav:
- name: "Posts"
url: "/"
weight: 1
- name: "Tags"
url: "/tags/"
weight: 2
- name: "About"
url: "/about/"
weight: 3
- name: "RSS"
url: "/index.xml"
weight: 4
markup:
defaultMarkdownHandler: "goldmark"
markup.goldmark:
markup.goldmark.extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: true
markup.goldmark.parser:
attribute: true
autoHeadingID: true
markup.goldmark.renderer:
hardWraps: false
unsafe: true
xHTML: false
markup.highlight:
codeFences: true
hl_Lines: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
noClasses: true
style: "monokai"
tabWidth: 4
markup.tableOfContents:
endLevel: 6
startLevel: 2

View file

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View file

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

@ -1 +0,0 @@
exampleSite/public/