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>2019-11-23 16:10:24 +0300
committerRise <8315221+AmazingRise@users.noreply.github.com>2019-11-23 16:10:24 +0300
commitb0300633bb0971d0ba042275cd24991d550a3e93 (patch)
tree2c09534c53c16ea5f5eb3011000723254f88b536
parent069af8541ac4b860249cc7695c5202c6e3e2c1e5 (diff)
Created Tag & Category Index or Taxonomies (markdown)
-rw-r--r--Tag-&-Category-Index-or-Taxonomies.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/Tag-&-Category-Index-or-Taxonomies.md b/Tag-&-Category-Index-or-Taxonomies.md
new file mode 100644
index 0000000..ec36e0d
--- /dev/null
+++ b/Tag-&-Category-Index-or-Taxonomies.md
@@ -0,0 +1,23 @@
+# Tag & Category Index
+
+This theme originally supports two kind of taxonomy page: tag index and category index.
+
+## How to Add Tag (or Category) Index to the sidebar?
+Please edit the `config.toml` in the root directory.
+
+Modify the section `[taxonomies]` as follows.
+```
+[taxonomies]
+ tag = "tags"
+ category = "categories"
+```
+*No more modification.* Then you will see the two index in the sidebar.
+(In the mobile view, it's the drawer.)
+
+## How about other taxonomies?
+Sure, this theme supports other taxonomies.
+
+You can add it as I said in the previous section.
+
+But different with tag & category, the taxonomy you add will not shown in the top of the post.
+It will only shown in the sidebar (or the drawer). \ No newline at end of file