diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-11 15:08:31 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-11 15:08:31 +0100 |
commit | 1b5bc568fb638314b62ea3d6635de56109680da9 (patch) | |
tree | c9288cab963085114b6e54fcf5de7c08c043f8b5 /README.md | |
parent | fec8caa3cdea5218cbde9c95e8600ad46a8f5fc8 (diff) | |
download | alps-1b5bc568fb638314b62ea3d6635de56109680da9.tar.gz alps-1b5bc568fb638314b62ea3d6635de56109680da9.zip |
Allow plugins to provide their own templates
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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), |