-
plugin dependencies:
- hexo-renderer-sass
- hexo-generator-feed
- hexo-renderer-ejs
-
clone theme
$ git clone https://github.com/objectyan/hexo-theme-hannah.git themes/hannah- modify site config
theme: hannah- update favicon ico
- replace
themes/hannah/sources/favicon.icowith your own preference - update theme config
themes/hannah/_config.yml# Miscelaneous favicon: [your own preference url]
- replace
- update head image
update config path for
themes/hannah/_config.yml- use url or source file
# headImg url and gravatar headImg: url: [your head Image url] - use gravatar logo
# headImg url and gravatar headImg: gravatar: email: [your gravatar logo config] option: [your gravatar logo config]
- use url or source file
- archive style
update config path for
_config.yml- use list
# archive posts archive_generator: per_page: 15 yearly: true monthly: false daily: false
- use time-line
# archive posts archive_generator: per_page: 0 yearly: true monthly: false daily: false
- use list
- update Analytics
update config path for
themes/hannah/_config.yml- use baidu
# Baidu Analytics baidu_analytics: [your app secret] - use google
# Google Analytics google_analytics: [your app secret]
- use baidu
- update Comments
update config path for
themes/hannah/_config.yml- use Disqus
# Disqus Comments disqus_shortname: [your app secret] - use Changyan
# Changyan Comments changyan_comments: appid: [your app id] appsecret: [your app secret]
- use Disqus