diff options
author | Qiushi Pan <qiu.gits@gmail.com> | 2018-12-01 17:31:11 +0300 |
---|---|---|
committer | Qiushi Pan <qiu.gits@gmail.com> | 2018-12-01 17:31:11 +0300 |
commit | ef669ee49a4b83bdfc893a7b424547424c6e81d6 (patch) | |
tree | 254992098455f88172b3bf017473c6dbdec8f9c6 | |
parent | f6f6022425a5824dea9514a2ee1f2f7c6a51eac2 (diff) |
Update: READMEv0.3.1
-rw-r--r-- | README.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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. :) |