diff --git a/templates/post.tmpl b/templates/post.tmpl index 4380c66..9466ae2 100644 --- a/templates/post.tmpl +++ b/templates/post.tmpl @@ -1,113 +1,113 @@ {{define "post"}} {{if .Title}}{{.Title}}{{else}}{{.GenTitle}}{{end}} — {{.SiteName}} {{if .IsCode}} - + {{end}} {{if gt .Views 1}} {{end}} {{if .Author}}{{end}} {{if not .SingleUser }} {{if .Collection.CodeHighlight}} {{end}} {{end}}

{{.SiteName}}

{{if .Title}}

{{.Title}}

{{end}}{{ if .IsPlainText }}

{{.Content}}

{{ else }}
{{.HTMLContent}}
{{ end }}
{{if .IsCode}} - + {{else}} {{if .IsPlainText}}{{end}} {{end}} {{end}}