Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

seejessicacode/hexo-theme-okcjs

 
 

Repository files navigation

OKC.js Theme

OKCjs

A theme for Hexo based initially on the landscape theme, but heavily modified.

Installation

Install

$ git clone https://github.com/techlahoma/hexo-theme-okcjs.git themes/okcjs

OKCjs requires Hexo 2.4 and above.

Enable

Modify theme setting in _config.yml to okcjs.

Update

cd themes/okcjs
git pull

Configuration

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

# Content
excerpt_link: Read More
fancybox: true

# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archives
- recent_posts

# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
google_plus:
  • menu - Navigation menu
  • rss - RSS link
  • excerpt_link - "Read More" link at the bottom of excerpted articles. false to hide the link.
  • fancybox - Enable Fancybox
  • sidebar - Sidebar style. You can choose left, right, bottom or false.
  • widgets - Widgets displaying in sidebar
  • google_analytics - Google Analytics ID
  • favicon - Favicon path
  • twitter - Twiiter ID
  • google_plus - Google+ ID

Features

Fancybox

OKCjs 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] %}

Sidebar

You can put your sidebar in left side, right side or bottom of your site by editing sidebar setting.

OKCjs provides 5 built-in widgets:

  • category
  • tag
  • tagcloud
  • archives
  • recent_posts

All of them are enabled by default. You can edit them in widget setting.

Development

Requirements

Grunt tasks

About

The okcjs theme for hexo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.8%
  • CSS 28.2%