Path to this page:
./
textproc/lua-etlua,
Embedded templates for Lua
Branch: pkgsrc-2020Q4,
Version: 1.3.0,
Package name: lua53-etlua-1.3.0,
Maintainer: niaAllows you to render ERB style templates but with Lua. Supports <%
%>, <%= %> and <%- %> tags (with optional newline slurping) for
embedding code.
How it works:
- Templates are transparently translated into Lua code and then
loaded as a function. Rendering a compiled template is very fast.
- Any compile time errors are rewritten to show the original source
position in the template.
- The parser is aware of strings so you can put closing tags inside
of a string literal without any problems.
Master sites:
SHA1: dbf14b221fcd839bded972d954b53b2e3a71ab90
RMD160: 47515e9fd61115026e3d081798b1dcabf1fcbf9e
Filesize: 7.493 KB
Version history: (Expand)
- (2021-01-03) Package added to pkgsrc.se, version lua53-etlua-1.3.0 (created)