#Pisces
A chic Hexo theme. Written with Less and ejs.
- Dynamically navigation menu support.
- Tags cloud design, different frequency with different color.
- Duoshuo comment widget, zh-CN and zh-TW support.
- Article layout style design learn from 知乎专栏.
- Mobile-optimized
- Beautiful cover design learn from hexo-theme-cover
-
Install theme:
cd your-hexo-folder git clone z themes/pisces -
Install hexo-renderer-less
npm install hexo-renderer-less --save
-
Site setting
In
your-hexo-folder/_config.yml:theme: piscesPisces offers three languages to select which you can find in
your-hexo-folder/themes/pisces/languages/folder. You can set inyour-hexo-folder/_config.yml:i18n_dir: :lang # zh-CN or zh-TW or en language: zh-CNMore options can be checked out in Hexo - Official Site
-
Create pages
Pisces offers you the customized categories & tags pages. But you need to create these pages in
your-hexo-folder/sourcefolder manually.For instance, to create a
tagspage, you may create aindex.mdfile atsource/tags/folder with the following contents:title: tags layout: tags ---And
categoriespage is also similar. -
Post tips if you want to show different cover image in your perticular post instead of index cover image, for instance Sketch post, you need to set in your post:
layout: post title: Sketch photos: - /img/IMG_001.PNG
In your-hexo-folder/themes/pisces/_config.yml:
menu:
home: /
rss:
tags: /tags
categories: /categories
cover:
enable: true
url: /img/home-bg0.jpg
tags_comment:
l: 中文名称
l: 英文术语
categories_comment:
l: 语言分类
l: 粗分类
baidu_tongji: true
comment_provider: duoshuo
duoshuo:
short_name: deacyn
nav_always: true
social:
github: https://github.com/your_name
weibo: https://weibo.com/your_name
twitter: https://twitter.com/your_name
- menu - Navigation menu
- rss - RSS link
- fancybox - Enable Fancybox
- comment_provider - if you want to use duoshuo, fill your DuoShuo ID in
duoshuo.short_name - baidu_tongji - BaiduTongji ID. Supports Baidu Tongji.
- nav_always - Set true if you want to see the Navigation menu all the time even if you scroll the page.
- tags_comment - You can add some comments in tags cloud page.
- categories_comment - You can add some comments in categories cloud page.
- cover - Set cover for your site. let
cover.enabletrue and writecover.url
This theme is provided under MIT License.



