aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-11 15:08:31 +0100
committerSimon Ser <contact@emersion.fr>2019-12-11 15:08:31 +0100
commit1b5bc568fb638314b62ea3d6635de56109680da9 (patch)
treec9288cab963085114b6e54fcf5de7c08c043f8b5 /README.md
parentfec8caa3cdea5218cbde9c95e8600ad46a8f5fc8 (diff)
downloadalps-1b5bc568fb638314b62ea3d6635de56109680da9.tar.gz
alps-1b5bc568fb638314b62ea3d6635de56109680da9.zip
Allow plugins to provide their own templates
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index f9e8f58..74706d3 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ HTTP server at `themes/<name>/assets/*`.
## Plugins
-Lua plugins are supported. They can be dropped in `plugins/*.lua`.
+Lua plugins are supported. They can be dropped in `plugins/<name>/main.lua`.
API:
@@ -28,6 +28,8 @@ API:
* `koushin.set_route(method, path, f)`: register a new HTTP route, `f` will be
called with the HTTP context
+Plugins can provide their own templates in `plugins/<name>/public/*.html`.
+
## Contributing
Send patches [on the mailing list](https://lists.sr.ht/~sircmpwn/koushin),