No substantial code updates but:
- a small fix for those using
_context.pash
- addition of an extension shortcut
- including markdown.lua and json.lua by default
so one can create a layout like this:
| page.extension = 'html'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>${ page.title } : notes.earthling.za.net</title>
</head>
<body>
${ include( '_pash/include_header.html' ) }
${ pash.markdown( page.content ) }
</body>
</html>
which will change the output extension of files that use it to .html
and insert the generated HTML from the markdown contents of those files into the layout. Phew.