Skip to content

Latest commit

 

History

History
163 lines (139 loc) · 4.14 KB

README-en.md

File metadata and controls

163 lines (139 loc) · 4.14 KB

hexo-theme-archer

preview

Online demo

🎯 Preview theme:Demo

234

Instruction

  • This theme is inspired by theme yilia and theme huxpro, it combines the sidebar of the former and the UI design of latter. You can switch to archive, tag and categories via the navigation sidebar without jumpping to a new page.
  • Compatibility:modern browsers and IE 10 +.
  • You are welcomed to create a new issue if there is any problem when installling and using this theme.
  • This theme will continue to be maintained and optimized, star it if you like it 😆.

Install

  1. Execute the following commands in Hexo directory.
npm install hexo-generator-json-content --save && git clone https://github.com/fi3ework/hexo-theme-archer.git themes/archer
  1. Change the theme property to archer of _config.yml in Hexo directory.
theme: archer
  1. Add sidebar enable support:

Add following properties to the _config.yml in Hexo directory (not archer).

jsonContent:
  meta: true
  pages: false
  posts:
    title: true
    date: true
    path: true
    text: false
    raw: false
    content: false
    slug: false
    updated: false
    comments: false
    link: false
    permalink: true
    excerpt: false
    categories: true
    tags: true

Optional config

Theme configuration

# ========== Profile Column ========== #
# avatar path
avatar:
# author name (if this property is blank, by default using the author property in Hexo configuration)
author:
# signature of blog
signature:
# SNS
social:
  email:
  github:
  # wechat and qq should be a path of an qr-code image
  wechat:
  qq:
  weibo:
  zhihu:
  douban:
  facebook:
  twitter:
  instagram:
  stack-overflow:
  v2ex:
  linkedin:
  blog:
  others:
  rss: /atom.xml
# friends link
friends:
  friendA:
  friendB:
  friendC:
# about
about:
  # enable about page
  enable: true
  # about heade image
  image:
  
# ========== Site ========== #
# title of the site (each article will be followed by this value to help SEO)
SEO_title:
# main title (title in site banner)
main_title:
# subtitle (subtitle in site banner)
subtitle:
# header image (image of site banner)
header_image:
# default post header image
post_header_image:
# 404 page header image
_404_image:

# ========== Comment Plugin ========== #
# Currently support directly adding Livere, Gitment, Changyan and Youyan, fill the field to enable corresponding plugin
comment:
  # Livere:https://livere.com/
  livere_uid:
  # Disqus:https://disqus.com/
  disqus_shortname:
  # Changeyan:http://changyan.kuaizhan.com/
  changyan_appid:
  changyan_conf:
  # Gitment:https://github.com/imsun/gitment
  gitment_owner:
  gitment_repo:
  gitment_client_id:
  gitment_client_secret:
  # Youyan: http://www.uyan.cc/
  youyan_uid:

# ========== Analytics ========== #
# enable Busuanzi pv analytics
busuanzi: false
# Baidu analytics (fill in siteID)
baidu_analytics:
# Google analytics (fill in siteID)
google_analytics:
# CNZZ analytics
CNZZ_analytics:

# ========== Others ========== #
# favicon
favicon:
# truncate length of abstracts in index page(the default is 300, there will be no abstruct if you set it to 0)
truncate_length:
# enable toc
toc: true

License

MIT