Add support for sections with content

This commit is contained in:
Marc Riera Irigoyen 2018-04-08 23:00:39 +02:00
parent 552c4e0bd5
commit c973d4c930
4 changed files with 49 additions and 17 deletions

View file

@ -1,15 +0,0 @@
<div id="content">
{{ if not .IsHome }}
{{ if not .Date.IsZero }}
<p class="timestamp">{{ .Date.Format "02-01-2006" }}</p>
{{ end }}
{{ end }}
{{ .Content }}
{{ if .Params.tags }}
{{ partial "tags" .Params.tags }}
{{ end }}
</div>