aboutsummaryrefslogtreecommitdiff
path: root/docs/themes-and-plugins.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/themes-and-plugins.md')
-rw-r--r--docs/themes-and-plugins.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/themes-and-plugins.md b/docs/themes-and-plugins.md
index 1d793f8..4c45ed7 100644
--- a/docs/themes-and-plugins.md
+++ b/docs/themes-and-plugins.md
@@ -17,7 +17,7 @@ Assets in `plugins/<name>/public/assets/*` are served by the HTTP server at
## Go plugins
They can use the [Go plugin helpers] and need to be included at compile-time in
-`cmd/koushin/main.go`.
+`cmd/alps/main.go`.
## Lua plugins
@@ -25,8 +25,8 @@ The entry point is at `plugins/<name>/main.lua`.
API:
-* `koushin.on_render(name, f)`: prior to rendering the template `name`, call
+* `alps.on_render(name, f)`: prior to rendering the template `name`, call
`f` with the template data (the special name `*` matches all templates)
-* `koushin.set_filter(name, f)`: set a template function
-* `koushin.set_route(method, path, f)`: register a new HTTP route, `f` will be
+* `alps.set_filter(name, f)`: set a template function
+* `alps.set_route(method, path, f)`: register a new HTTP route, `f` will be
called with the HTTP context