aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-09 16:02:12 +0100
committerSimon Ser <contact@emersion.fr>2019-12-09 16:05:40 +0100
commit4f74722c14d18e78e172825961d7a65d25b41d3f (patch)
tree7ffe867986e26e4b5f4a27cb061030e2337efa96 /README.md
parenta176409933129eccdcf06ef131c76aee497b53aa (diff)
downloadalps-4f74722c14d18e78e172825961d7a65d25b41d3f.tar.gz
alps-4f74722c14d18e78e172825961d7a65d25b41d3f.zip
Add basic support for plugins
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33288c8..82cb933 100644
--- a/README.md
+++ b/README.md
@@ -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