aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.yaml
diff options
context:
space:
mode:
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: "© [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