README
koa-front-matter-views
Koa.js middlemare for rendering pages with layouts and page content with front matter.
install
npm install --save koa-front-matter-views
# Koa 1.x
npm install --save koa-front-matter-views@2.0.6
usage
See example
Koa.js middlemare for rendering pages with layouts and page contents with front matter. Supports ejs template engine.
<script type="module">
import koaFrontMatterViews from 'https://cdn.skypack.dev/koa-front-matter-views';
</script>
Koa.js middlemare for rendering pages with layouts and page content with front matter.
npm install --save koa-front-matter-views
# Koa 1.x
npm install --save koa-front-matter-views@2.0.6
See example