README.md

Mon, 20 Apr 2020 12:02:54 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 12:02:54 -0500
changeset 18
30b9b7402f94
parent 16
e377590e9b19
child 19
d0b9a9c90832
permissions
-rw-r--r--

Add title


# lgen

This is a very simple website templating engine based on markdown and Lua,
written by Tuomo Valkonen 〈<tuomov@iki.fi>〉.

It is not particularly supported or maintained; it was created back in 2009
to build [my own website](http://tuomov.iki.fi/). The engine is still being
used for that purpose. I decided to put the code online in 2017 after
having had to spend some time to convert it to Lua 5.3 from which the
module() function had been removed.

Features (see the included example):

  * Embedded Lua code within `<% ... %>` with the ltp engine.
  * Advanced markdown features, including syntax highlighting of code blocks, via Pandoc
    (select `renderer: pandoc` in the page meta section).

Aside from the included `compat_env.lua` and the ltp engine (which is has not
updated to Lua 5.3, and requires on the compat_env module), the code is in
the public domain.

mercurial