diff options
author | Rise <8315221+AmazingRise@users.noreply.github.com> | 2020-01-08 15:43:24 +0300 |
---|---|---|
committer | Rise <8315221+AmazingRise@users.noreply.github.com> | 2020-01-08 15:43:24 +0300 |
commit | 6dd40e8aaa50a062bbecdd950428d585b5965d26 (patch) | |
tree | da4005fb50090ec9b618e068c944a0e07f442240 | |
parent | 62190dc66b8f591c1fef424bf2392241eb4dd128 (diff) |
Updated Tag & Category Index or Taxonomies (markdown)
-rw-r--r-- | Tag-&-Category-Index-or-Taxonomies.md | 25 | ||||
-rw-r--r-- | Taxonomies-(Categories-and-Tags).md | 13 |
2 files changed, 13 insertions, 25 deletions
diff --git a/Tag-&-Category-Index-or-Taxonomies.md b/Tag-&-Category-Index-or-Taxonomies.md deleted file mode 100644 index 1d4562f..0000000 --- a/Tag-&-Category-Index-or-Taxonomies.md +++ /dev/null @@ -1,25 +0,0 @@ -**Notice:An update of sidebar is coming soon.(Details in [Projects](https://github.com/AmazingRise/hugo-theme-diary/projects/3))** - -**Then you can customize the sidebar!** - -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 diff --git a/Taxonomies-(Categories-and-Tags).md b/Taxonomies-(Categories-and-Tags).md new file mode 100644 index 0000000..a4aefbb --- /dev/null +++ b/Taxonomies-(Categories-and-Tags).md @@ -0,0 +1,13 @@ + +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)**
\ No newline at end of file |