From 51189de047740a54c46f2990dba9d4ebfc807faf Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 5 Sep 2021 23:45:48 -0400 Subject: [PATCH] Switch from toml to yaml --- config.toml | 40 ---------------------------------------- config.yaml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 40 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml diff --git a/config.toml b/config.toml deleted file mode 100644 index a436acbc..00000000 --- a/config.toml +++ /dev/null @@ -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_)" diff --git a/config.yaml b/config.yaml new file mode 100644 index 00000000..7d7083fa --- /dev/null +++ b/config.yaml @@ -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_) +