2 This is a very simple website templating engine based on markdown and Lua, |
2 This is a very simple website templating engine based on markdown and Lua, |
3 written by Tuomo Valkonen 〈<tuomov@iki.fi>〉. |
3 written by Tuomo Valkonen 〈<tuomov@iki.fi>〉. |
4 |
4 |
5 It is not particularly supported or maintained; it was created back in 2009 |
5 It is not particularly supported or maintained; it was created back in 2009 |
6 to build [my own website](http://tuomov.iki.fi/). The engine is still being |
6 to build [my own website](http://tuomov.iki.fi/). The engine is still being |
7 used for that purpose. I decided to put the code online now in 2017 after |
7 used for that purpose. I decided to put the code online in 2017 after |
8 having had to spend some time to convert it to Lua 5.3 from which the |
8 having had to spend some time to convert it to Lua 5.3 from which the |
9 module() function had been removed. |
9 module() function had been removed. |
10 |
10 |
11 Aside from the included compat_env.lua and the ltp engine (which is has not |
11 Features (see the included example): |
|
12 |
|
13 * Embedded Lua code within `<% ... %>` with the ltp engine. |
|
14 * Advanced markdown features, including syntax highlighting of code blocks, via Pandoc |
|
15 (select `renderer: pandoc` in the page meta section). |
|
16 |
|
17 Aside from the included `compat_env.lua` and the ltp engine (which is has not |
12 updated to Lua 5.3, and requires on the compat_env module), the code is in |
18 updated to Lua 5.3, and requires on the compat_env module), the code is in |
13 the public domain. |
19 the public domain. |