acyort-donob-renderer
v1.7.4
Published
acyort renderer for donob renderer
Downloads
4
Readme
Acyort-donob-renderer
process
and render
issues for donob
templates
require acyort>=3.0.13
Usage
# config.yml
title: ''
template: acyort-templates-donob-plus
tagsDir: # default tags
postsDir: # default posts
archivesDir: # default archives
pageSize:
archives: # default 10
posts: # default 10
tags: # default 10
repository: # optional, used in gitalk and acyort-plugin-fetch-issues
gitalk: # default false
clientID:
clientSecret:
owner: # split by repository
repo: # split by repository
# gitalk config
favicon: # favicon.ico, copy to public/favicon.ico
plugins:
- acyort-plugin-fetch-issues # generate data
- acyort-donob-renderer
- acyort-plugin-rss # optional, generate rss
Development
- run
cp test/config.yml.default test/config.yml
- set your config
- run
yarn dev
Markdown Extensions
See acyort-util-md for more details
front-matter
---
keywords:
- key1
- key2
description: posts desc
rstData1:
rstData2:
# ...other data
---
# This is heading
This is content
you can get posts-item
as
{
// ...
keywords: 'key1,key2', // split by ','
description: '',
frontMatter: {
rstData1: '',
rstData2: '',
// ...other data
}
}