{{ define "title" }}{{ .V.post.Title }}{{ end }} {{ define "content" }} {{ $Post := .V.post }}

{{ $Post.Title }}

{{ if $Post.Sticky }}[sticky]{{ end }} {{ if ne $Post.Privacy "public" }} [{{ $Post.Privacy }}] {{ end }} {{ $Post.CreatedAt.Format "January 2, 2006" }} {{ if ($Post.UpdatedAt.After $Post.CreatedAt) }} (updated {{ $Post.UpdatedAt.Format "January 2, 2006" }}) {{ end }} {{ if $Post.Author.Name }} by {{ $Post.Author.Name }} {{ end }}

{{ $Post.HTML }}
Tags: {{ range $tag := $Post.Tags }} #{{ $tag.Tag }} {{ end }}
{{ .CurrentUser }} {{ if .CurrentUser.IsAdmin }}
Admin: [ edit | delete ]
{{ end }} {{ $idStr := printf "%d" $Post.ID }} {{ if $Post.EnableComments }} {{ RenderComments .ResponseWriter .Request $Post.Title "post" $idStr }} {{ else }} {{ RenderCommentsRO .ResponseWriter .Request "post" $idStr }} {{ end }} {{ end }}