hexo theme hannah
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
layout
source
.gitignore
README.md
_config.yml
package.json

README.md

hexo-theme-hannah

Installation

Install

  • 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
    1. replace themes/hannah/sources/favicon.ico with your own preference
    2. update theme config themes/hannah/_config.yml
      # Miscelaneous
      favicon: [your own preference url]
  • update head image

    update config path for themes/hannah/_config.yml

    1. use url or source file
      # headImg url and gravatar
      headImg:
        url: [your head Image url]
    2. use gravatar logo
      # headImg url and gravatar
      headImg:
        gravatar:
            email: [your gravatar logo config]
            option: [your gravatar logo config]
  • archive style

    update config path for _config.yml

    1. use list
      # archive posts
      archive_generator:
        per_page: 15
        yearly: true
        monthly: false
        daily: false
    2. use time-line
       # archive posts
       archive_generator:
         per_page: 0
         yearly: true
         monthly: false
         daily: false
  • update Analytics

    update config path for themes/hannah/_config.yml

    1. use baidu
      # Baidu Analytics
      baidu_analytics: [your app secret]
    2. use google
      # Google Analytics
      google_analytics: [your app secret]
  • update Comments

    update config path for themes/hannah/_config.yml

    1. use Disqus
      # Disqus Comments
      disqus_shortname: [your app secret]
    2. use Changyan
      # Changyan Comments
      changyan_comments:
        appid: [your app id]
        appsecret: [your app secret]