Add support for sections with content
This commit is contained in:
parent
552c4e0bd5
commit
c973d4c930
4 changed files with 49 additions and 17 deletions
|
@ -1,3 +1,11 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ partial "content.html" . }}
|
||||
<div id="content">
|
||||
{{ if not .Date.IsZero }}
|
||||
<p class="timestamp">{{ .Date.Format "02-01-2006" }}</p>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
{{ if .Params.tags }}
|
||||
{{ partial "tags" .Params.tags }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue