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:
authorYihui Xie <xie@yihui.name>2020-10-12 00:15:10 +0300
committerYihui Xie <xie@yihui.name>2020-10-12 00:15:10 +0300
commita4cf79272146661e1d759c31072af3b891cdc88f (patch)
treed3a10e3045d04e3b7f1a3bea38f88e68e5bdd550
parentf5cfedfa8ccca9636f8830bd92e41d82af5374ea (diff)
.toml -> .yaml
-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 = "&copy; [Yihui Xie](https://yihui.org) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
-
-[params.text]
- back = "&larr; Back to Home"
- edit = "Edit this page &rarr;"
- truncated = "&hellip;"
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: "&copy; [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: "&larr; Back to Home"
+ edit: "Edit this page &rarr;"
+ truncated: "&hellip;"