hexo-theme-Cxo
A cool ๏ผsimple & beautiful theme for Hexo.
Online demo
Watch online demo๏ผMr.Long's Blog
Documentation
Browser Support
IE >= 10
Instruction
- The Cxo is my first time to make the Hexo theme, if you have any suggestions and ideas for optimization and functionality, please tell me, I will correct them.
- You are welcomed to create a new issue. If there is any problem when installing and using this theme.
- Your support is my motivation, so I will keep updating, star it if you like it.
Install
- Execute the following commands in Hexo directory.
git clone -b master https://github.com/Longlongyu/hexo-theme-Cxo themes/Cxo
- Change the
theme
property toCxo
of_config.yml
in Hexo directory.
theme: Cxo
- If you don't have
jade renderer
andsass renderer
, follow this:
npm install hexo-renderer-jade hexo-renderer-sass --save
Version
- 1.0.0 - ใHave basic blogging featuresใ
- 1.0.1 - ใAdded some comment pluginsใ
- 1.0.2 - ใThe switch status of the sidebar is now savedใ
- 1.0.3 - ใAdded display of pinned articlesใ
- 1.0.4 - ใDisplay article recent modification timeใ
- 1.0.5 - ใAdded custom timestamps and optimized the article directory. Now, you can define a summary image and add Baidu statisticalใ
- 1.0.6 - ใFixed issue of the tab-bar display on mobile.ใ
Theme Update
Jump into the Cxo folder, follow this:
git pull
Other configuration
- Enable about page
- Enable tags page
- Enable word count and reading time
- Enable article top
- Enable article most modified time
- Modify timestamp format
- Define summary image
- Some hexo's markdown syntax
Theme configuration
# โโโโโโโโโโ Profile Column โโโโโโโโโโ #
# Avatar
avatar:
# Author
author:
# Signature
signature:
# Links
friends:
friendA:
friendB:
friendC:
# Social information
social:
email:
github:
weibo:
facebook:
twitter:
rss:
# โโโโโโโโโโ 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:
# Header image (image of site banner)๏ผthe default is site_header_image๏ผsite_header_image is required field
site_header_image:
post_header_image:
about_header_image:
# โโโโโโโโโโ Indivdual โโโโโโโโโโ #
# icon
favicon: /img/assets/favicon.ico
# โโโโโโโโโโ Option โโโโโโโโโโ #
# truncate length of abstracts in index page (the default is 300, there will be no abstruct if you set it to 0)
truncate_length:
# intro height (the default is 70 percents of the screen, you can input other number)
intro_height: 70
# enable toc
toc: true
# word count and reading time๏ผ
reading_info: false
# access statistics
count:
# enable analytics
# true or flase
busuanzi: true
# baidu code
baidu:
# Time
# you can modify the timestamp format.
date_format: YYYY-MM-DD
# display created time.
display_created: true
# display article recent modification time
display_updated: false
# copyright
copyright:
enable: true
# https://creativecommons.org/
license: All articles in this blog are licensed under <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/3.0">CC BY-NC-SA 3.0</a> unless stating additionally.
# currently support directly adding Livere, Disqus, Changyan, fill the field to enable corresponding plugin
comment:
# Livere site: https://livere.com/
livere_uid:
# Disqus site: https://disqus.com/
disqus_shortname:
# Changyan site: http://changyan.kuaizhan.com/
changyan_appid:
changyan_conf:
# Gitment site: https://github.com/imsun/gitment/
gitment_owner:
gitment_repo:
gitment_client_id:
gitment_client_secret: