/hexo-theme-lighting

Yet another theme for Hexo.

Primary LanguageJavaScriptMIT LicenseMIT

Lighting

Yet another theme for Hexo.

Installation

Install

$ git clone https://github.com/llh911001/hexo-theme-lighting.git themes/lighting

lighting requires Hexo 2.4 and above.

Enable

Modify theme setting in _config.yml to lighting.

Update

cd themes/lighting
git pull

Configuration

# Header
menu:
  Home: /
  Archives: /archives
rss: /atom.xml

# Content
excerpt_link: Read More
fancybox: true

# Miscellaneous
google_analytics:
favicon: /favicon.ico
twitter:
google_plus:
  • excerpt_link - "Read More" link at the bottom of excerpted articles. false to hide the link.
  • fancybox - Enable Fancybox
  • google_analytics - Google Analytics ID
  • favicon - Favicon path
  • twitter - Twiiter ID
  • google_plus - Google+ ID

Features

Fancybox

lighting uses Fancybox to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.

![img caption](img url)

{% fancybox img_url [img_thumbnail] [img_caption] %}

Development

Requirements

Grunt tasks