Switch from toml to yaml

This commit is contained in:
Dave Gallant
2021-09-05 23:45:48 -04:00
parent 558d9d2732
commit 51189de047
2 changed files with 42 additions and 40 deletions

View File

@@ -1,40 +0,0 @@
baseurl = "/"
languageCode = "en-us"
title = "davegallant.github.io - blog"
theme = "xmin"
googleAnalytics = "UA-98710982-2"
disqusShortname = "https-davegallant-github-io"
staticDir = ["static"]
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
footnotereturnlinkcontents = "↩"
enableRobotsTXT = true
canonifyURLs = true
[permalinks]
post = "/blog/:year/:month/:day/:slug/"
note = "/note/:year/:month/:day/:slug/"
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "About"
url = "/about/"
weight = 2
[[menu.main]]
name = "Categories"
url = "/categories/"
weight = 3
[[menu.main]]
name = "Tags"
url = "/tags/"
weight = 4
[[menu.main]]
name = "Subscribe"
url = "/index.xml"
[params]
description = "A website built through Hugo and blogdown."
footer = "© Dave Gallant 2021 | [Github](https://github.com/davegallant) | [Twitter](https://twitter.com/Dave_Gallant_)"

42
config.yaml Normal file
View File

@@ -0,0 +1,42 @@
baseurl: /
canonifyURLs: true
disqusShortname: https-davegallant-github-io
enableRobotsTXT: true
footnotereturnlinkcontents:
googleAnalytics: UA-98710982-2
ignoreFiles:
- \.Rmd$
- \.Rmarkdown$
- _files$
- _cache$
languageCode: en-us
preserveTaxonomyNames: true
staticDir:
- static
theme: xmin
title: davegallant.github.io - blog
permalinks:
post: '/blog/:year/:month/:day/:slug/'
note: '/note/:year/:month/:day/:slug/'
menu:
main:
- name: Home
url: /
weight: 1
- name: About
url: /about/
weight: 2
- name: Categories
url: /categories/
weight: 3
- name: Tags
url: /tags/
weight: 4
- name: Subscribe
url: /index.xml
params:
description: A website built through Hugo and blogdown.
footer: >-
© Dave Gallant 2021 | [Github](https://github.com/davegallant) |
[Twitter](https://twitter.com/Dave_Gallant_)