Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonashao/hexo-theme-pteris
hexo theme with nunjucks and materialize css.
https://github.com/jonashao/hexo-theme-pteris
hexo-theme nunjucks
Last synced: 4 months ago
JSON representation
hexo theme with nunjucks and materialize css.
- Host: GitHub
- URL: https://github.com/jonashao/hexo-theme-pteris
- Owner: jonashao
- License: mit
- Created: 2016-12-17T16:04:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T03:24:11.000Z (almost 8 years ago)
- Last Synced: 2024-09-27T07:43:43.470Z (4 months ago)
- Topics: hexo-theme, nunjucks
- Language: HTML
- Homepage: https://junnanhao.com
- Size: 1.32 MB
- Stars: 16
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pteris
A hexo theme in nunjucks renderer engine.[Demo](http://www.junnanhao.com)
[中文文档](README.zh.md)
## 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
- [x] 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.``` yml
# main menu navigation
menu:
Archives: /archives
Tags: /tags# Miscelaneous
favicon: /favicon.png# stylesheets loaded in the
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](https://www.teambition.com/project/585497e096c7dce53871e4be/)
or come it up in issue.