• Stars
    star
    149
  • Rank 240,763 (Top 5 %)
  • Language SCSS
  • License
    MIT License
  • Created over 8 years ago
  • Updated 12 months ago

Reviews

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

Repository Details

A very simple theme for hexo

very-simple

Demo

A theme that aimed to be very simple, creatd by lotabout

Installation

Install theme and renderers:

git clone https://github.com/lotabout/very-simple themes/very-simple
npm install hexo-renderer-sass --save
npm install hexo-renderer-jade --save

Edit _config.yml in hexo root, change theme to very-simple.

Configuration

Default config:

# very-simple/_config.yml
menu:
  Home: /
  Archives: archives
social:
  email:
  twitter:
  github:
  googleplus:
  rss: /atom.xml
fancybox: true
duoshuo: #duoshuo_shortname
disqus: #disqus _shortname
google_analytics: #Google Analytics Tracking Code
google_adsense_page_level_ads: #Google Adsense Page Level Ads Code
  • menu - The navigation links on the header
  • social - Social icons such as email/github/twitter etc. to show on the footer
    • email - Email address
    • twitter - twitter account
    • github - github account
    • googleplus - Google Plus account
    • rss - RSS subscription link, learn more in hexo-generator-feed
  • fancybox - Enable Fancybox
  • duoshuo - Duoshuo shortname
  • disqus - Disqus shortname
  • google_analytics - Google Analytics Tracking Code
  • google_adsense_page_level_ads: - Google Adsense Page Level Ads Code

If you want to contain this theme only as a submodule, then you may be unwilling to keep all configuration inside theme folder(very-simple/_config.yml). In this case, you can keep the configurations in root configuration file /_config.yml by:

# /_config.yml
very_simple:
  menu:
    Home: /
    Archives: archives
  social:
    email:
    twitter:
    github:
    googleplus:
    rss: /atom.xml
  fancybox: true
  duoshuo: #duoshuo_shortname
  disqus: #disqus _shortname
  google_analytics: #Google Analytics Tracking Code
  google_adsense_page_level_ads: #Google Adsense Page Level Ads Code

##Features

Logo

You can set a favicon.ico for your website, please put it into source folder of hexo directory, recommended size: 32px*32px.

Pages

To customize pages, such as traditional 'About' page, follow the following steps:

  1. create a directory about/ under /source

  2. create a corresponding index page index.md under directory about/.

  3. add link to the page to menu configuration:

    menu: About: about

Note that you don't need to add directory and create about.md under /source. But the configuration should changed to:

    menu:
      About: about.html

Comments

You can control whether to show comment system(default to enabled) in pages. Just add comments: true or comments: false in front-matter section of page. i.e.

title: About
date: 2013-12-26 22:52:56
layout: page
comments: true
---

Excerpt

You can control the abstract of a post shown at index, by:

  1. Filling a description: item in front-matter of the post.md
  2. Just inserting a <!--more--> before your hidden content.
  3. Otherwise it will fetch the first paragraph as excerpt.

More Repositories

1

skim

Fuzzy Finder in rust!
Rust
4,856
star
2

write-a-C-interpreter

Write a simple interpreter of C. Inspired by c4 and largely based on it.
C
3,825
star
3

rargs

xargs + awk with pattern matching support. `ls *.bak | rargs -p '(.*)\.bak' mv {0} {1}`
Rust
462
star
4

Let-s-build-a-compiler

A C & x86 version of the "Let's Build a Compiler" by Jack Crenshaw
C
455
star
5

fuzzy-matcher

Fuzzy Matching Library for Rust
Rust
240
star
6

skim.vim

vim support for skim
Vim Script
133
star
7

tuikit

Tool kit for writing TUI applications in Rust.
Rust
103
star
8

hexo-theme-noise

A hexo theme
Less
100
star
9

CodeGenerator

Intellij IDEA Plugin for creating customized code generators like the builtin toString, equals, etc.
Java
49
star
10

spring-security-example

REST authentication apis & token based authentication, etc.
Java
32
star
11

transformer-playground

Annotation processor @Transform for creating transformers for classes.
Java
16
star
12

pymustache

Mustache template engine from scratch in Python.
Python
16
star
13

static-wiki

CSS
14
star
14

SlackGuide-cn

A chinese guide for slackware based on SlackBook.
11
star
15

dotfiles

Manage the resource files under home folder
Emacs Lisp
8
star
16

lotabout.github.io

My personal blog. (source at source branch)
C++
8
star
17

buddy-system

Simple implementation of a buddy system for memory management.
C
8
star
18

orgwiki

personal wiki generated by org-mode
CSS
8
star
19

compiler-design-in-c

Codes for book <compiler design in C>
C
6
star
20

ywvim

a fork of ywvim. http://www.vim.org/scripts/script.php?script_id=2662
Vim Script
6
star
21

vimwiki-tpl

template for vimwiki
CSS
5
star
22

project-euler-racket

Project Euler in racket.
Racket
5
star
23

axe

Handy utilities for racket
Racket
5
star
24

simple-template-engine

A simple template engine written in python
Python
5
star
25

mdbook-fix-cjk-spacing

mdbook preprocessor that removes extra space rendered for Chinese lines.
Rust
4
star
26

c-interfaces

codes for book "C Interfaces and Implementation Techniques".
C
4
star
27

underscore-comment

Read and Comment on source code of underscore.js
JavaScript
3
star
28

hexo-filter-fix-cjk-spacing

Join continuous CJK lines in markdown in Hexo.
JavaScript
3
star
29

simple-framework

A simple python web framework from scratch
Python
3
star
30

jasypt-online

Jasypt 在线加解密工具
HTML
2
star
31

nikola-bnw

A nikola theme.
CSS
2
star
32

zzz

theme for nikola
CSS
2
star
33

ideas

log for new ideas and the execution of ideas
2
star
34

cup

A small web framework for racket
Racket
2
star
35

learn-c-the-hard-way

code & exercise reading book <Learn C the hard way>
C
2
star
36

curtail

pipe stdin to a fixed-size log file
Rust
2
star
37

build-your-own-pytorch

Understand deep learning framework(like torch) by implementing the essentials
Python
2
star
38

zlex

A lexical analyzer generator.
C
2
star
39

pymkd

Markdown in python
Python
1
star
40

cljs-douban

douban.fm in CLJS+Electron
Clojure
1
star
41

lemon

Lemon parser generator (http://www.hwaci.com/sw/lemon/). Submit for code review for study purpose.
C
1
star
42

code-snippets

collection of useful code snippets.
C
1
star
43

my-time

A time management web application written in clojure with luminus.
Clojure
1
star
44

cljs-douban-reframe

douban.fm in CLJS+Electron+Re-frame
Clojure
1
star
45

my-slackbuilds

My slackware build scripts
Shell
1
star
46

pscat

socat in one python file
Python
1
star
47

orgmark.vim

Vim Script
1
star
48

docker-slackware

Build slackware images for docker
1
star
49

LiSP

Codes for book "Lisp in Small Pieces"
Scheme
1
star
50

java-spi-playground

A simple expression interpreter that use SPI to load user-customized functions
Java
1
star
51

dragon-book-notes

Notes reading the Dragon Book.
C
1
star
52

dwm

My own customization of dwm, starting with dwm-6.0.
C
1
star