diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-09 16:02:12 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-09 16:05:40 +0100 |
commit | 4f74722c14d18e78e172825961d7a65d25b41d3f (patch) | |
tree | 7ffe867986e26e4b5f4a27cb061030e2337efa96 /README.md | |
parent | a176409933129eccdcf06ef131c76aee497b53aa (diff) | |
download | alps-4f74722c14d18e78e172825961d7a65d25b41d3f.tar.gz alps-4f74722c14d18e78e172825961d7a65d25b41d3f.zip |
Add basic support for plugins
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -14,6 +14,13 @@ Templates in `public/themes/<name>/*.html` override default templates in `public/*.html`. Assets in `public/themes/<name>/assets/*` are served by the HTTP server at `themes/<name>/assets/*`. +## Plugins + +Lua plugins are supported. They can be dropped in `plugins/*.lua`. + +For now only a single hook is supported: `render(name, data)`. If defined, this +Lua function will be called prior to rendering a template. + ## License MIT |