{{ define "title" }}Preview Comment{{ end }} {{ define "content" }} {{ with .Data.Comment }}
{{ if $.Data.Editing -}} {{ end }}

{{- if $.Data.Deleting -}} Delete Comment {{- else if $.Data.Editing -}} Edit Comment {{- else -}} Preview {{- end -}}


{{ template "comment" . }}
{{ if $.Data.Deleting }}

Are you sure you want to delete this comment?

Cancel {{ else }} {{ template "comment-form" . }} {{ end }}
{{ end }} {{ end }}