diff options
-rw-r--r-- | Tag-&-Category-Index-or-Taxonomies.md | 23 |
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 |