From fcc6144becb99f35d302c0329c587833cd35d2bd Mon Sep 17 00:00:00 2001 From: danielvcorreia Date: Fri, 24 Feb 2023 01:55:49 +0000 Subject: [PATCH] Corrected .yaml syntax --- exampleSite/config.yaml | 49 ++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 035fac3..8898b86 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,40 +1,35 @@ -baseurl: "/" -languageCode: "en-us" -title: "A minimal Hugo website" -theme: "hugo-xmin" -googleAnalytics: "" -disqusShortname: "" -ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"] -footnotereturnlinkcontents: "↩" - +baseurl: / +languageCode: en-us +title: A minimal Hugo website +theme: hugo-xmin +googleAnalytics: '' +disqusShortname: '' +ignoreFiles: + - \.Rmd$ + - _files$ + - _cache$ +footnotereturnlinkcontents: ↩ permalinks: - note: "/note/:year/:month/:day/:slug/" - post: "/post/:year/:month/:day/:slug/" - + post: '/post/:year/:month/:day/:slug/' + note: '/note/:year/:month/:day/:slug/' menu: main: - name: Home - url: "" + url: / weight: 1 - name: About - url: "about/" + url: /about/ weight: 2 - name: Categories - url: "categories/" + url: /categories/ weight: 3 - name: Tags - url: "tags/" + url: /tags/ weight: 4 - name: Subscribe - url: "index.xml" - + url: /index.xml params: - description: "A website built through Hugo and blogdown." - footer: "© [Yihui Xie](https://yihui.org) 2017 -- {Year} | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)" - -markup: - highlight: - codeFences: false - goldmark: - renderer: - unsafe: true + description: A website built through Hugo and blogdown. + footer: >- + © [Yihui Xie](https://yihui.name) 2017 | + [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)