mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 00:19:19 +02:00
change config.toml to config.yaml
This commit is contained in:
parent
a375ee671f
commit
64cd50c06f
|
@ -1,41 +0,0 @@
|
|||
baseurl = "/"
|
||||
languageCode = "en-us"
|
||||
title = "A minimal Hugo website"
|
||||
theme = "hugo-xmin"
|
||||
googleAnalytics = ""
|
||||
disqusShortname = ""
|
||||
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
|
||||
footnotereturnlinkcontents = "↩"
|
||||
|
||||
[permalinks]
|
||||
post = "/post/: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 = "© [Yihui Xie](https://yihui.org) 2017 -- 2020 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
|
@ -0,0 +1,38 @@
|
|||
baseurl: "/"
|
||||
languageCode: "en-us"
|
||||
title: "A minimal Hugo website"
|
||||
theme: "hugo-xmin"
|
||||
googleAnalytics: ""
|
||||
disqusShortname: ""
|
||||
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
|
||||
footnotereturnlinkcontents: "↩"
|
||||
|
||||
permalinks:
|
||||
note: "/note/:year/:month/:day/:slug/"
|
||||
post: "/post/: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: "© [Yihui Xie](https://yihui.org) 2017 -- 2020 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
Loading…
Reference in New Issue