Skip to content

Longlongyu/hexo-theme-Cxo

Repository files navigation

hexo-theme-Cxo

A cool ,simple & beautiful theme for Hexo. 🍄

version author hexo license

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

  1. Execute the following commands in Hexo directory.
git clone -b master https://github.com/Longlongyu/hexo-theme-Cxo themes/Cxo
  1. Change the theme property to Cxo of _config.yml in Hexo directory.
theme: Cxo
  1. If you don't have jade renderer and sass 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

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:

License

MIT

About

A cool ,simple & beautiful theme for Hexo. 🍄

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published