mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
Switch from toml to yaml
This commit is contained in:
40
config.toml
40
config.toml
@@ -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
42
config.yaml
Normal 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_)
|
||||
|
Reference in New Issue
Block a user