diff --git a/themes/briar/layouts/_default/single.html b/themes/briar/layouts/_default/single.html index d32a1bbd5ff4b65f3a0277d6412dc8f74eefa3d5..d3002cb4e1c307a4fcfb4eb2f428e91fe4514c09 100644 --- a/themes/briar/layouts/_default/single.html +++ b/themes/briar/layouts/_default/single.html @@ -1,11 +1,13 @@ {{ define "main" }} <h2>{{ .Title }}</h2> <p> - {{.Date.Format "January 2, 2006"}} by - {{ if (isset .Params "author") }} - {{ markdownify .Params.author }} - {{ else }} - The Briar Team + {{ if (eq .Type "news") }} + {{.Date.Format "January 2, 2006"}} by + {{ if (isset .Params "author") }} + {{ markdownify .Params.author }} + {{ else }} + The Briar Team + {{ end }} {{ end }} </p> {{ .Content }}