Layout change #6

This commit is contained in:
koirand 2019-03-23 16:18:03 +09:00
parent a821794a91
commit 1f9e6368c9
10 changed files with 210 additions and 182 deletions

View file

@ -1,10 +1,11 @@
{{ define "main"}}
<div>
<h1>{{ .Title }}</h1>
<p class="date">{{ .Date.Format .Site.Params.singlePageDateFormat }}</p>
<div class="markdown-body">
{{ .Content }}
</div>
</div>
<h1>{{ .Title }}</h1>
{{ partial "header.html" . }}
<!-- date -->
<p class="date">{{ .Date.Format .Site.Params.singlePageDateFormat }}</p>
<!-- content -->
<div class="markdown-body">
{{ .Content }}
</div>
{{ partial "footer.html" . }}
{{ end }}