diff options
author | Rise <8315221+AmazingRise@users.noreply.github.com> | 2020-03-02 17:49:30 +0300 |
---|---|---|
committer | Rise <8315221+AmazingRise@users.noreply.github.com> | 2020-03-02 17:49:30 +0300 |
commit | 5eb799b0ced6a49ebd562c6684876afc2b7f897a (patch) | |
tree | 34f1e9831eba75e86ee29fdcb594fa9fc09d8f4c | |
parent | cb061cd5003e817a0f1df980358f285d98a4664a (diff) |
Updated Taxonomies (Categories and Tags) (markdown)
-rw-r--r-- | Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md (renamed from Taxonomies-(Categories-and-Tags).md) | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Taxonomies-(Categories-and-Tags).md b/Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md index a4aefbb..d1ac007 100644 --- a/Taxonomies-(Categories-and-Tags).md +++ b/Taxonomies-and-Sections-(Archive,-Categories-and-Tags).md @@ -1,3 +1,4 @@ +## Taxonomies This theme originally supports two kind of taxonomy page: tag index and category index. @@ -10,4 +11,16 @@ Modify the section `[taxonomies]` as follows. 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 +**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 |