From 6dd40e8aaa50a062bbecdd950428d585b5965d26 Mon Sep 17 00:00:00 2001 From: Rise <8315221+AmazingRise@users.noreply.github.com> Date: Wed, 8 Jan 2020 20:43:24 +0800 Subject: Updated Tag & Category Index or Taxonomies (markdown) --- Tag-&-Category-Index-or-Taxonomies.md | 25 ------------------------- Taxonomies-(Categories-and-Tags).md | 13 +++++++++++++ 2 files changed, 13 insertions(+), 25 deletions(-) delete mode 100644 Tag-&-Category-Index-or-Taxonomies.md create mode 100644 Taxonomies-(Categories-and-Tags).md 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 -- cgit v1.2.3