• Stars
    star
    396
  • Rank 108,801 (Top 3 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 4 years ago

Reviews

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

Repository Details

Hexo implementation of Clean Blog http://blackrockdigital.github.io/startbootstrap-clean-blog/index.html

Clean Blog Hexo

Hexo implementation of Clean Blog

Clean blog is a full featured, responsive Hexo theme. Demo here.

Features

  • Disqus and Facebook comments
  • Google Analytics
  • Addthis
  • Cover image for posts and pages
  • Tags and Categories Support
  • Responsive Images
  • Image Gallery
  • Code syntax highlighting

External libraries used

Installation

$ git clone https://github.com/klugjo/hexo-theme-clean-blog.git themes/clean-blog

Then update your blog's main _config.yml to set the theme to clean-blog:

# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: clean-blog

Configuration

Menu

The menu is configured in the theme's _config.yml.

# Header
menu:
  Home: /
  Archives: /archives
  Github:
    url: https://github.com/klugjo/hexo-theme-clean-blog
    icon: github

The object key is the label and the value is the path, or you can use a icon (font awesome) like menu item.

Top Left Label

The top left label is configured in the theme's _config.yml. When clicked it will lead to the Home Page.

# Title on top left of menu. Leave empty to use main blog title
menu_title: Configurable Title

Home Page cover image

The Home Page cover is configured in the theme's _config.yml. It will be the same for all index type pages.

# URL of the Home page image
index_cover: /img/home-bg.jpg

Default post title

The default post title (used when no title is specified) is configured in the theme's _config.yml.

# Default post title
default_post_title: Untitled

Comments

The comments provider is specified in the theme's _config.yml. If you specify both a disqus_shortname and a facebook.appid there will be 2 sets of comment per post. So choose one.

# Comments. Choose one by filling up the information
comments:
  # Disqus comments
  disqus_shortname: klugjotest
  # Facebook comments
  facebook:
    appid: 123456789012345
    comment_count: 5
    comment_colorscheme: light

You can too hide the comment in the posts front-matter:

comment: false
---

Google Analytics

The Google Analytics Tracking ID is configured in the theme's _config.yml.

# Google Analytics Tracking ID
google_analytics:

Addthis

The Addthis ID is configured in the theme's _config.yml.

# Addthis ID
addthis:

Social Account

Setup the links to your social pages in the theme's _config.yml. Links are in the footer.

# Social Accounts
twitter_url:
facebook_url:
github_url: https://github.com/klugjo/hexo-theme-clean-blog
linkedin_url:
mailto:

Author

The post's author is specified in the posts front-matter:

author: Klug Jo
---

Post's Cover Image

By default, posts will use the home page cover image. You can specify a custom cover in the front-matter:

title: Excerpts
date: 2013-12-25 00:23:23
tags: ["Excertps"]
cover: /assets/contact-bg.jpg
---

Post's Share Cover Image

You can specify a custom cover to share yours posts in social medias:

share_cover: /assets/contact-bg.jpg
---

Post's Excerpt

This theme does not support traditional excerpts. To show excerpts on the index page, use subtitle in the front-matter:

title: Excerpts
date: 2013-12-25 00:23:23
tags: ["Excertps"]
subtitle: Standard Excerpts are not supported in Clean Blog but you can use subtitles in the front matter to display text in the index.
---

Tags page.

Follow these steps to add a tags page that contains all the tags in your site.

  • Create a page named tags
$ hexo new page "tags"
  • Edit the newly created page and set page type to tags in the front matter.
title: All tags
type: "tags"
  • Add tags to the menu in the theme _config.yml:
# Header
menu:
  Home: /
  Archives: /archives
  Tags: /tags

Categories page.

Follow these steps to add a categories page that contains all the categories in your site.

  • Create a page named categories
$ hexo new page "categories"
  • Edit the newly created page and set page type to categories in the front matter.
title: All categories
type: "categories"
  • Add Categories to the menu in the theme _config.yml:
# Header
menu:
  Home: /
  Archives: /archives
  Categories: /categories

Creator

This theme was created by Blackrock Digital and adapted for Hexo by Jonathan Klughertz.

License

MIT

More Repositories

1

hexo-theme-alpha-dust

🌠 Original Futuristic Hexo Theme
HTML
310
star
2

hexo-theme-phantom

Hexo implementation of Phantom (http://html5up.net/phantom)
CSS
241
star
3

hexo-theme-magnetic

Adaptation of http://pixelhint.com/magnetic-free-html5-responsive-photography-website-template/ for hexo
CSS
181
star
4

hexo-theme-anodyne

🌋 Original Bright Theme for Hexo
HTML
150
star
5

klug-saver

Expense Tracker app written in React Native
TypeScript
27
star
6

hexo-autolinker

Automatic link generation in Hexo posts
JavaScript
25
star
7

electron-timer-app

Small Timer App
JavaScript
13
star
8

bootstrap-blog-hexo

Adaptation of http://getbootstrap.com/examples/blog/ for hexo
CSS
9
star
9

a-star-react

A Star Path Finding in React
TypeScript
3
star
10

travis-node-test

Setup Travis CI with your Node project
JavaScript
3
star
11

klugjo.github.io

🌐 My blog @
HTML
3
star
12

hexo-compose

Desktop App to write Hexo Blogs
JavaScript
2
star
13

express-route-manager

Setup ExpressJS routes and controllers in a testable way
JavaScript
2
star
14

algos

Training
2
star
15

react-wpm

React WPM game
TypeScript
2
star
16

klugjo-blog-code

Test projects blog related
JavaScript
2
star
17

hexo-theme-bug-feast

Visual Hexo Theme
2
star
18

klug-saver-web

Netlify site for klugsaver.com
CSS
2
star
19

elm-weather-app

2
star
20

chalkdown

WIP
TypeScript
2
star
21

cucayo

Meal Planner App
JavaScript
2
star
22

zelda-theme-javascript-midi

Javascript sheet music for the Zelda's main theme
JavaScript
2
star
23

lerna-typescript-react-storybook-jest

Setup Example
JavaScript
1
star
24

klugjo

1
star
25

simon-game-react-flux

React + Flux Implementation of the Simon game
JavaScript
1
star
26

full-stack-redux-tuto

My take on the amazing tut at http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html
JavaScript
1
star
27

vk-jonathan-klughertz

Duplicate Content Check
JavaScript
1
star
28

l33t

l33t training
TypeScript
1
star
29

dotfiles

Vim Script
1
star
30

ui-challenge

UI Challenge as a front end developer
CSS
1
star
31

wenzai

TypeScript
1
star
32

route-manager-test-app

Test app that uses the express route manager
JavaScript
1
star