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

github.com/qqhann/hugo-primer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiushi Pan <qiu.gits@gmail.com>2018-12-01 17:31:11 +0300
committerQiushi Pan <qiu.gits@gmail.com>2018-12-01 17:31:11 +0300
commitef669ee49a4b83bdfc893a7b424547424c6e81d6 (patch)
tree254992098455f88172b3bf017473c6dbdec8f9c6
parentf6f6022425a5824dea9514a2ee1f2f7c6a51eac2 (diff)
Update: READMEv0.3.1
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
index 648edbd..8f2f22e 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,8 @@ $ hugo server --theme=theer
```
## Usage
+
+#### config.toml
You can configure Theer behavior with these params in your blog's `config.toml`. Shown are defaults and most recommended configs.
```config.toml
# config.toml
@@ -74,6 +76,31 @@ shareTo = ["Twitter", "Hatena", "Facebook", "Pocket"]
creditTheer = true
```
+#### archetypes/default.md
+It is also recommended to remove your site's `archetypes/default.md`, or copy Theer's `archetypes/default.md` to your site.
+```archetypes/default.md
+---
+title: "{{ replace .Name "-" " " | title }}"
+date: {{ .Date }}
+draft: true
+categories:
+tags:
+keywords:
+---
+```
+
+Example usage:
+```
+---
+categories:
+- Diary
+tags:
+- Shopping
+- Health
+---
+```
+Set keywords for seo.
+
## Contributing
Issues and PRs are welcome. :)