Whitespace fixes. Change layout__content to layout__main.

This commit is contained in:
Fredrik Jonsson 2017-08-30 09:41:30 +02:00
commit 31bab84fea

View file

@ -1,8 +1,8 @@
<p class="submitted">
{{ with $.Param "author" }}<span class="author">{{ . }}</span> – {{ end -}}
{{ if not .Lastmod.IsZero }}
{{ if not .Lastmod.IsZero -}}
<time class="modified-date" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
{{ else }}
{{ else -}}
<time class="modified-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
{{ end -}}
</p>