aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.yaml
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-08-02 13:23:35 +0800
committer简律纯 <i@jyunko.cn>2024-08-02 13:23:35 +0800
commite03422873a1788137f120d9c8f34b2be079f0aee (patch)
treef52775951aed0c594a6b1ca4c9432f3bba74ecac /config.yaml
parent2b8db24f956ad99305860c2f8f4cd3a331a76dc6 (diff)
downloadjournal-e03422873a1788137f120d9c8f34b2be079f0aee.tar.gz
journal-e03422873a1788137f120d9c8f34b2be079f0aee.zip
docs: build with hugo
Diffstat (limited to 'config.yaml')
-rw-r--r--config.yaml47
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: "&copy; [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: "&larr; Back to Home"
+ edit: "Edit this page &rarr;"
+ truncated: "&hellip;"
+
+markup:
+ highlight:
+ codeFences: false
+ goldmark:
+ renderer:
+ unsafe: true