Skip to content

Releases: cdrubin/pash

Including markdown and json.lua in the package

10 Jan 15:38
Compare
Choose a tag to compare

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.

1.0-1

19 Nov 19:35
Compare
Choose a tag to compare
Update README.md