Giter Site home page Giter Site logo

yuyingwu / hexo-theme-light Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexojs/hexo-theme-light

0.0 2.0 0.0 342 KB

Default theme for Hexo

Home Page: http://hexo.io/hexo-theme-light

License: MIT License

HTML 47.78% CSS 46.22% JavaScript 6.01%

hexo-theme-light's Introduction

Light

Default theme for Hexo.

Install

Execute the following command and modify theme in _config.yml to light.

git clone https://github.com/hexojs/hexo-theme-light.git themes/light

Update

Execute the following command to update Light.

cd themes/light
git pull

Config

Default config:

menu:
  Home: /
  Archives: /archives

widgets:
- search
- category
- tag
- twitter

excerpt_link: Read More

twitter:
  username:
  show_replies: false
  tweet_count: 5

addthis:
  enable: true
  pubid:
  facebook: true
  twitter: true
  google: true
  pinterest: true

fancybox: true

google_analytics:
rss:
  • menu - Main navigation menu
  • widget - Widgets displaying in sidebar
  • excerpt_link - "Read More" link text at the bottom of excerpted articles
  • twitter - Twitter widget config
    • username - Twitter username
    • show_replies - Enable displaying replies
    • tweet_count - Tweets display in widget
  • addthis - Share buttons at the buttom of articles (Powered by AddThis)
    • enable - Enable share buttons
    • pubid - Profile ID of AddThis
    • facebook - Enable Facebook button
    • twitter - Enable Twitter button
    • google - Enable Google+ button
    • pinterest - Enable Pinterest button
  • fancybox - Enable Fancybox
  • google_analytics - Google Analytics ID
  • rss - RSS subscription link (change if using Feedburner)

Features

Gallery Post

---
layout: photo
title: Gallery Post
photos:
- http://i.minus.com/ibobbTlfxZgITW.jpg
- http://i.minus.com/iedpg90Y0exFS.jpg
---

Link Post

---
layout: link
title: Link Post
link: http://www.google.com/
---

Tweet Widget

Fancybox

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.