Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlysses Foreman <ulysses1.foreman@gmail.com>2022-11-05 21:48:59 +0300
committerGitHub <noreply@github.com>2022-11-05 21:48:59 +0300
commit1511637129b41e17e8a64ca76c1b7943bfe69857 (patch)
treeee3eabfdb7688bce41b0c2a3ea6737c4bc9ca416
parentb2b957e07587a5d58bdd4b2bcdb3d987a29cad68 (diff)
Update README.md
Clarification for populating articles and use of taxonomies.
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ad5d2d..000b671 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ build hugo site with configs
- category list&term pages
- tag list&term pages
- archives pages
-- TOC sidebar
+- table of contents (TOC) sidebar
- `prefers-color-scheme` media support
- PWA support
@@ -46,6 +46,9 @@ build hugo site with configs
4. If your language is not `en` or `zh-cn`, you may need to add i18n files in i18n folder to show some i18n strings in this theme.
+5. Ensure the to put all content in a directory titled "post" for the theme to populate the articles. Ex. content\post
+
+
## Config
An example of avaliable params:
@@ -127,6 +130,16 @@ theme = "hulga"
name = "关于"
url = "/about/"
weight = 3
+ [[menu.main]]
+ identifier = "tags"
+ name = "标签"
+ url = "/tags/"
+ weight = 4
+ [[menu.main]]
+ identifier = "categories"
+ name = "类别"
+ url = "/categories/"
+ weight = 5
[taxonomies]
category = "categories"