Coder Social home page Coder Social logo

hexo-theme-cxo's Introduction

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

  • Cxo is my first time to make 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 installling 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 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』

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

hexo-theme-cxo's People

Contributors

longlongyu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.