diff options
| author | 2024-08-02 13:23:35 +0800 | |
|---|---|---|
| committer | 2024-08-02 13:23:35 +0800 | |
| commit | e03422873a1788137f120d9c8f34b2be079f0aee (patch) | |
| tree | f52775951aed0c594a6b1ca4c9432f3bba74ecac /config.yaml | |
| parent | 2b8db24f956ad99305860c2f8f4cd3a331a76dc6 (diff) | |
| download | journal-e03422873a1788137f120d9c8f34b2be079f0aee.tar.gz journal-e03422873a1788137f120d9c8f34b2be079f0aee.zip | |
docs: build with hugo
Diffstat (limited to 'config.yaml')
| -rw-r--r-- | config.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..9dbe808 --- /dev/null +++ b/config.yaml @@ -0,0 +1,47 @@ +baseurl: "/" +languageCode: "en-us" +title: "Hugo XMag" +theme: "hugo-xmag" +ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"] +preserveTaxonomyNames: true +footnotereturnlinkcontents: "↩" +hasCJKLanguage: true +enableEmoji: true +paginate: 6 + +permalinks: + 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 - 2023 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)" + github_edit: "https://github.com/yihui/hugo-xmag/edit/master/exampleSite/content/" + summary_length: 300 + text: + back: "← Back to Home" + edit: "Edit this page →" + truncated: "…" + +markup: + highlight: + codeFences: false + goldmark: + renderer: + unsafe: true |
