Skip to content
A simple, light-weight Hexo theme. Featuring syntax highlighting and mobile UI.
HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
layout
source
README.md
_config.yml

README.md

simple-theme

A simple, light-weight Hexo theme. Featuring syntax highlighting for code samples, and a clean concise desktop and mobile view.

Features

  • mobile-friendly
  • configurable css variables
  • syntax highlighting (Thanks to highlight.js)

Installation

First, set up your Hexo site like you normally would

Instructions here.

Now add this theme to your site

By running this command

cd c:/my_hexo_site

git clone https://github.com/bendotbike/simple-theme.git themes/simple-theme

Set the theme

Open your site's _config.yml (NOT the theme's _config.yml). Change theme's value (by default it is landscape), to simple-theme). Delete the landscape theme folder.

Generate and view your site

Run the following Hexo commands:

hexo clean

hexo generate

hexo serve

Configuration

View _config.yml and source/css/styles.css

Page types

Post

hexo new post_name

Page

hexo new page page_name

Search

Add your Google Custom Search embed code in simple-theme/_config.yml under gsce_cx. To create:

hexo new page search

In the front-matter, add layout: search.

@TODO

  • add comment system
  • download page layouts
  • update docs with front-matter options
  • Google Analytics
  • Favicon
You can’t perform that action at this time.