Skip to content

zhi-qiu-yi/hexo-theme-alberta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

自定义修改如下:

  • 加入每篇文章的toc
  • 加入标签&分类页面, 关于页面
  • 加入leancloud 阅读量统计
  • 加入mathjax
  • 加入向上按钮,参考: Maupassant Theme
  • 加入文章更新时间
  • 加入搜索功能, 参考: next-theme, hexo-generator-search
  • 加入图片预览功能(基于Fancbox), 参考tianma

A new theme for [Hexo] based on Alberta.

Installation

Install

$ git clone git@github.com:ShomyLiu/hexo-theme-alberta.git

Enable

Modify theme setting in _config.yml to alberta.

Configuration

# Header
menu:
  Home: /
  Archives: /archives
  About: /about
rss: /atom.xml

# Menu Icon
menu_icon:
  Home: fa-home
  Archives: fa-archive
  About: fa-user

# Content
excerpt_link: Read More


# Personal Image
your_img: your_image_url

# Miscellaneous
google_analytics:
favicon: /favicon.png
google_plus:

# copyright
copyright:
    enable: true
    author: Shomy
    email: shomyliu@gmail.com
    site: http://shomy.top
  • menu - Navigation menu, you need to hexo new page 'about' for the about page.
  • menu_icon - Navigation icon
  • rss - RSS link
  • excerpt_link - "Read More" link at the bottom of excerpted articles. false to hide the link.
  • google_analytics - Google Analytics ID
  • copyright - Setting about copyright. Can add copyright: false to disable copyright in one specified post.
  • donate - Setting about donate. Can add donate: false to disable copyright in one specified post.

About

Hexo theme simple

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 59.4%
  • HTML 24.2%
  • JavaScript 16.4%