koa-front-matter-views

Koa.js middlemare for rendering pages with layouts and page contents with front matter. Supports ejs template engine.

Usage no npm install needed!

<script type="module">
  import koaFrontMatterViews from 'https://cdn.skypack.dev/koa-front-matter-views';
</script>

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