diff --git a/README.md b/README.md index 353f399..6583b6c 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,15 @@ See the `scripts/` directory on how to install gowiki on Linux or OpenBSD. } ``` -## GoWiki on OpenBSD +## Features + +* Fulltext indexing of wiki pages +* Password hashing using BCrypt +* 2FA using TOTP +* Content Security Policy +* No Javascript (yet) +* Private wiki pages + +### GoWiki on OpenBSD GoWiki makes use of the OpenBSD native security features [pledge(2)](https://man.openbsd.org/pledge) and [unveil(2)](https://man.openbsd.org/unveil). diff --git a/pkg/server/templates.go b/pkg/server/templates.go index e2baee8..b7f22fc 100644 --- a/pkg/server/templates.go +++ b/pkg/server/templates.go @@ -679,12 +679,14 @@ const ( {{if .Admin}}