diff --git a/www/.layout.gohtml b/www/.layout.gohtml index 949c806..2cc55bf 100644 --- a/www/.layout.gohtml +++ b/www/.layout.gohtml @@ -62,6 +62,12 @@ {{ template "content" . }} + {{ if and .CurrentUser.Admin .Editable }} +
+ Admin: [edit this page] +
+ {{ end }} +