• Stars
    star
    136
  • Rank 267,670 (Top 6 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A cool ๏ผŒsimple & beautiful theme for Hexo. ๐Ÿ„

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