diff --git a/www/.layout.gohtml b/www/.layout.gohtml index 62ed35c..b8fbba5 100644 --- a/www/.layout.gohtml +++ b/www/.layout.gohtml @@ -66,9 +66,9 @@ {{ template "content" . }} - {{ if and .CurrentUser.Admin .Editable }} + {{ if and .CurrentUser.Admin .Editable (ne .TemplatePath ".markdown.gohtml") }}

- Admin: [edit this page] + Admin: [edit this page]

{{ end }} diff --git a/www/blog/tags.partial.gohtml b/www/blog/tags.partial.gohtml deleted file mode 100644 index 560464b..0000000 --- a/www/blog/tags.partial.gohtml +++ /dev/null @@ -1,20 +0,0 @@ -{{ if .IndexView }} - Sorted by most frequently used: - - -{{ else }} - -{{ end }} diff --git a/www/guestbook.gohtml b/www/guestbook.gohtml index 50ed42e..65b1154 100644 --- a/www/guestbook.gohtml +++ b/www/guestbook.gohtml @@ -3,6 +3,6 @@

My Guestbook

-{{ RenderComments "Guestbook" "guestbook" }} +{{ RenderComments .Request "Guestbook" "guestbook" }} {{ end }}