Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml46
-rw-r--r--exampleSite/config.yaml42
2 files changed, 42 insertions, 46 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
deleted file mode 100644
index 59bb047..0000000
--- a/exampleSite/config.toml
+++ /dev/null
@@ -1,46 +0,0 @@
-baseurl = "/"
-languageCode = "en-us"
-title = "Hugo XMag"
-theme = "hugo-xmag"
-googleAnalytics = ""
-disqusShortname = ""
-ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
-preserveTaxonomyNames = true
-footnotereturnlinkcontents = "↩"
-hasCJKLanguage = true
-enableEmoji = true
-paginate = 6
-
-[permalinks]
- post = "/post/: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."
- summary_length = 300
- github_edit = "https://github.com/yihui/hugo-xmag/edit/master/exampleSite/content/"
- footer = "© [Yihui Xie](https://yihui.org) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
-
-[params.text]
- back = "← Back to Home"
- edit = "Edit this page →"
- truncated = "…"
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
new file mode 100644
index 0000000..edb70e3
--- /dev/null
+++ b/exampleSite/config.yaml
@@ -0,0 +1,42 @@
+baseurl: "/"
+languageCode: "en-us"
+title: "Hugo XMag"
+theme: "hugo-xmag"
+googleAnalytics: ""
+disqusShortname: ""
+ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"]
+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 - 2020 | [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: "…"