Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimaslanjaka/hexo-renderers
All in one theme renderers and helpers for hexo
https://github.com/dimaslanjaka/hexo-renderers
ejs hexo hexo-helper hexo-renderer hexo-theme nunjucks pug
Last synced: 2 months ago
JSON representation
All in one theme renderers and helpers for hexo
- Host: GitHub
- URL: https://github.com/dimaslanjaka/hexo-renderers
- Owner: dimaslanjaka
- Created: 2023-03-27T10:51:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-10T00:23:39.000Z (2 months ago)
- Last Synced: 2024-10-10T00:29:05.390Z (2 months ago)
- Topics: ejs, hexo, hexo-helper, hexo-renderer, hexo-theme, nunjucks, pug
- Language: JavaScript
- Homepage: https://www.webmanajemen.com/docs/hexo-renderers
- Size: 5.11 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# hexo-renderers
All in one theme renderers and helpers for hexo. Load all hexo renderer engines at once.## Features
- use any type layout inside source
- more custom helpers
- related post helpers [examples](https://github.com/dimaslanjaka/site/tree/hexo-renderers/views)## Specify renderers
You can specify some renderers by `_config.yml`
```yaml
renderers:
engines: ['ejs', 'stylus', 'nunjucks', 'dartsass', 'pug', 'sass', 'markdown-it', 'rollup']
generator:
# enable generate /meta.json
- meta
# enable generate related posts
- related-posts
```> - dartsass improved from `hexo-renderer-dartsass`
> - sass improved from `hexo-renderer-sass`
> when `renderers` is not configured, `hexo-renderer-sass` are being used by default.## Config each renderer
set config for your desired renderer engine.
- [hexo-renderer-dartsass](https://github.com/KentarouTakeda/hexo-renderer-dartsass/blob/master/README.md)
- [hexo-renderer-sass](https://github.com/knksmith57/hexo-renderer-sass#_configyml)
- [hexo-renderer-markdown-it](https://github.com/hexojs/hexo-renderer-markdown-it/blob/master/README.md)## Changelog
### 2.0.5
- chore: disable `rollup` renderer by default### 2.0.4
- feat: support for hexo 7.3.0
- update dependencies (except markdown-it)### 2.0.1
- fix maximum call stack exceeded### 2.0.0
- change options structure
- add `meta.json` generator which available at `http://example.com/meta.json`
- add related post helper### 1.0.13
- fix: invalid default markdown options### 1.0.12
- fix: cannot find installed `markdown-it` plugins### 1.0.5
- improved `dartsass`
- add and improved `hexo-renderer-sass`
- optimize docs### 1.0.6
- add more helpers### 1.0.7
- hotfix known issues### 1.0.8
- add `hexo-renderer-markdown-it`
- hotfix nunjucks renderer
- update dependencies