From 0c98b52735921ed56170406e353415a54ba54ab2 Mon Sep 17 00:00:00 2001 From: otis Date: Wed, 16 Oct 2019 17:58:45 +0800 Subject: update --- README.md | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c492c41..03ed979 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,25 @@ # hugo-theme-pure -A port of [hexo-theme-pure](https://github.com/cofess/hexo-theme-pure) for Hugo. Powerful & Clean. +A port of [hexo-theme-pure](https://github.com/cofess/hexo-theme-pure) for Hugo. Powerful & Clean. [Iconfont](http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html) + +## Screenshots + +![](images/screenshot.png) + +![](images/black.png) + +![](images/blue.png) + +![](images/green.png) + +![](images/purple.png) ## Installation ```bash +$ cd $HUGO_ROOT $ git clone https://github.com/xiaoheiAh/hugo-theme-pure themes/pure +$ ./hugo server -t pure ``` ### **Note** @@ -26,10 +40,34 @@ defaultContentLanguage: zh # en,fr... Currently supports English and Chinese, you can see `en.yml` and `zh.yml` under `pure/i18n`. If you want to support other language, you can copy any yml file under `i18n` and rename to new language, then feel free to translate. -### Favicon & Images +## Favicon & Images You should put you images into `static` folder at your root project. When specify `favicon` or `donate qr code` , don't use absolute url like `/favicon.ico`, please use relative url like `favicon.ico` or `donate/alipay.png` +## Menu Icons + +You can configure the menu according to the icons of [Iconfont](http://blog.cofess.com/hexo-theme-pure/iconfont/demo_fontclass.html), the following is configuration. + +```yml +menuIcons: + enable: true + home: icon-home-fill + archives: icon-archives-fill + categories: icon-folder + tags: icon-tags + repository: icon-project + books: icon-book-fill + links: icon-friendship + about: icon-cup-fill +``` + + + +## TODO + +- [ ] TOC +- [ ] pagination + ## License Released under the [MIT](https://github.com/olOwOlo/hugo-theme-even/blob/master/LICENSE.md) License. -- cgit v1.2.3