diff options
author | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2019-11-23 15:07:15 +0300 |
---|---|---|
committer | amazingrise <8315221+AmazingRise@users.noreply.github.com> | 2019-11-23 15:07:15 +0300 |
commit | 095309a06c5fc6faee82b73e906a96d5d3b7f047 (patch) | |
tree | 3fb30e65930fe077dbaa0630ca34b91c351931d7 /README.md | |
parent | 8799ffe2da642b82fa0984fb1a2060147109a207 (diff) |
Update README.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 31 insertions, 2 deletions
@@ -1,5 +1,6 @@ # hugo-theme-diary ![](https://img.shields.io/badge/license-MIT-blue.svg) +[Live Demo](https://amazingrise.net/hugo-theme-diary/) Original Author: [SumiMakito](https://github.com/SumiMakito) @@ -16,6 +17,8 @@ This theme is [under construction](https://github.com/AmazingRise/hugo-theme-dia ## Screenshots +[Live Demo here!](https://amazingrise.net/hugo-theme-diary/) + ![](https://raw.githubusercontent.com/AmazingRise/hugo-theme-diary/master/images/screenshot.png) Site Main Page @@ -69,9 +72,35 @@ From the root of themes/diary/exampleSite: hugo server --themesDir ../.. ``` -## Customize +## Example config + +Here is an example config. (The same as /exampleSite/config.toml) +``` +baseURL = "http://example.org/" +languageCode = "en-us" +title = "A Hugo Site" +copyright = "This is a customized copyright." + +theme = "diary" +# googleAnalytics = "UA-123-45" + +[params] +subtitle = "Themed by Diary." +enableGitalk = true + +[params.gitalk] + owner = "user" + repo = "repo name" + client_id = "your client id" + client_secret = "your client secret" +[taxonomies] + tag = "tags" + category = "categories" +``` + +## Using & Customize -For customization, please visit [the project wiki](https://github.com/amazingrise/hugo-theme-diary/wiki) for details. +As for other details, please visit [the project wiki](https://github.com/amazingrise/hugo-theme-diary/wiki) for details. ## Comparison |