From 64cd50c06f39de57a6078d2f7e730cdb8673d361 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Sun, 11 Oct 2020 15:23:34 -0500 Subject: change config.toml to config.yaml --- exampleSite/config.toml | 41 ----------------------------------------- exampleSite/config.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 41 deletions(-) delete mode 100644 exampleSite/config.toml create mode 100644 exampleSite/config.yaml diff --git a/exampleSite/config.toml b/exampleSite/config.toml deleted file mode 100644 index a2726d4..0000000 --- a/exampleSite/config.toml +++ /dev/null @@ -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 diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml new file mode 100644 index 0000000..8875342 --- /dev/null +++ b/exampleSite/config.yaml @@ -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 -- cgit