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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-13 12:22:47 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-13 12:22:47 +0300
commit7379bbe412fcc0d61a6980e787da66526d8ee17d (patch)
treeeb148b7480c424ede8270d1b39e85bdf95326614 /exampleSite
parentc600f872133f655a27244dadc056c2feb57de86d (diff)
refactor: rename archive -> archives
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml8
-rw-r--r--exampleSite/content/page/archive.md6
-rw-r--r--exampleSite/content/page/archives.md6
3 files changed, 10 insertions, 10 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 64039df..137ea8c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -29,11 +29,11 @@ DefaultContentLanguage = "en" # Theme i18n support
# Only Disqus is available so far
provider = "disqus"
[params.widgets]
- enabled = ['archive', 'tag-cloud']
- [params.widgets.archive]
+ enabled = ['archives', 'tag-cloud']
+ [params.widgets.archives]
limit = 5
- ### Archive page relative URL
- path = "archive"
+ ### Archives page relative URL
+ path = "archives"
[params.widgets.tagCloud]
limit = 10
[params.opengraph]
diff --git a/exampleSite/content/page/archive.md b/exampleSite/content/page/archive.md
deleted file mode 100644
index 7c51bea..0000000
--- a/exampleSite/content/page/archive.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "Archive"
-date: 2019-05-28
-layout: "archive"
-slug: "archive"
----
diff --git a/exampleSite/content/page/archives.md b/exampleSite/content/page/archives.md
new file mode 100644
index 0000000..e25595b
--- /dev/null
+++ b/exampleSite/content/page/archives.md
@@ -0,0 +1,6 @@
+---
+title: "Archives"
+date: 2019-05-28
+layout: "archives"
+slug: "archives"
+---