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

github.com/AmazingRise/hugo-theme-diary.wiki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRise <8315221+AmazingRise@users.noreply.github.com>2020-03-02 17:49:30 +0300
committerRise <8315221+AmazingRise@users.noreply.github.com>2020-03-02 17:49:30 +0300
commit5eb799b0ced6a49ebd562c6684876afc2b7f897a (patch)
tree34f1e9831eba75e86ee29fdcb594fa9fc09d8f4c /Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md
parentcb061cd5003e817a0f1df980358f285d98a4664a (diff)
Updated Taxonomies (Categories and Tags) (markdown)
Diffstat (limited to 'Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md')
-rw-r--r--Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md26
1 files changed, 26 insertions, 0 deletions
diff --git a/Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md b/Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md
new file mode 100644
index 0000000..d1ac007
--- /dev/null
+++ b/Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md
@@ -0,0 +1,26 @@
+## Taxonomies
+
+This theme originally supports two kind of taxonomy page: tag index and category index.
+
+Please edit the `config.toml` in the root directory.
+
+Modify the section `[taxonomies]` as follows.
+```
+[taxonomies]
+ tag = "tags"
+ category = "categories"
+```
+
+**You should add them to sidebar manully. Please see [Customize sidebar](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#customize-sidebar)**
+
+## Archive Page
+
+Hugo implement this function as `Section`.
+To visit archive page, you can directly navigate to `http://your-site/posts`
+Add these to your `config.toml` in order to see `Archive` on the sidebar:
+```toml
+[[menu.main]]
+url = "/posts"
+name = "Archive"
+weight = 1
+``` \ No newline at end of file