hexo theme with nunjucks and materialize css.
Switch branches/tags
Nothing to show
Clone or download
Latest commit bed28a0 Apr 18, 2017
Permalink
Failed to load latest commit information.
doc 添加About页 Feb 22, 2017
languages Go through hexo-theme-unit-test Dec 19, 2016
layout Fix issue #5 Apr 18, 2017
source Fix issue #5 Apr 18, 2017
.bowerrc First commit Dec 17, 2016
.gitignore optimzie avatar display in mobile devices Apr 5, 2017
LICENSE Initial commit Dec 17, 2016
README.md Add filing number. Apr 5, 2017
README.zh.md Add filing number. Apr 5, 2017
bower.json Fix issue #5 Apr 18, 2017
gulpfile.js modify colors Mar 1, 2017

README.md

Pteris

A hexo theme in nunjucks renderer engine.

Demo

中文文档

Getting start

in hexo root directory:

npm install --save hexo-renderer-njks
git clone https://github.com/jonashao/hexo-theme-pteris themes/pteris

Applying the theme by modify _config.yml in hexo project root directory:

theme: pteris

Project Progress

  • index page : 90%
  • post page : 80%
  • archive page: 50% While all pages can be rendered, there are still lots of details that can be cover.

Main todos:

  • SEO for post page
  • Beautify post page
  • Analysis plugins
  • Share plugins
  • Comment plugins
  • Customization
  • Docs

Config

theme variables

Setting those variables in pteris/_config.yml, you need to create the file for the first time.

# main menu navigation
menu:
  Archives: /archives
  Tags: /tags

# Miscelaneous
favicon: /favicon.png

# stylesheets loaded in the <head>
stylesheets:
# - /css/your.css.file.css

# scripts loaded in the end of the body
scripts:
# - /js/your.js.file.js

# helping search engine to better understand your site.
keywords: pteris, hexo

# the large image in the front of index page.
headerImageUrl:

# your avatar representing in the header of index page
avatar:

# title represented in the header of index page.
title:

# description represented in the header of the index page.
description:

# add filing number in the footer
filing:

more docs are on the way!

If you are interested in the project or have some 'special needs', welcome to join our project in teambition or come it up in issue.