diff --git a/templates/comment.gohtml b/templates/comment.gohtml index 92fe807..9d3515e 100644 --- a/templates/comment.gohtml +++ b/templates/comment.gohtml @@ -9,9 +9,9 @@ {{ string .Blog.Lang "acommentby" }} {{ if .Data.Website }}{{ .Data.Name }}{{ else }}{{ .Data.Name }}{{ end }}: -
{{ html .Data.Comment }} -
+ ID: {{ $comment.ID }}
Target: {{ $comment.Target }}
- Name: {{ $comment.Name }}
- Website: {{ $comment.Website }}
- Comment: {{ html $comment.Comment }}
+ Name: {{ if $comment.Website }}{{ $comment.Name }}{{ else }}{{ $comment.Name }}{{ end }}
+
+ {{ html $comment.Comment }}