Skip to content

objectyan/hexo-theme-hannah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

hexo theme hannah

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published