28 lines
525 B
HTML
28 lines
525 B
HTML
|
|
{{ define "main" }}
|
||
|
|
<section>
|
||
|
|
<h1>{{ .Title }}</h1>
|
||
|
|
<div>
|
||
|
|
<article>
|
||
|
|
{{ .Content }}
|
||
|
|
</article>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
<aside>
|
||
|
|
<div>
|
||
|
|
<section>
|
||
|
|
<h4>{{ .Date.Format "Mon Jan 2, 2006" }}</h4>
|
||
|
|
<h5>{{ .WordCount }} Words</h5>
|
||
|
|
</section>
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
{{ with .PrevInSection }}
|
||
|
|
<a class="previous" href="{{ .Permalink }}"> {{.Title}}</a>
|
||
|
|
{{ end }}
|
||
|
|
{{ with .NextInSection }}
|
||
|
|
<a class="next" href="{{ .Permalink }}"> {{.Title}}</a>
|
||
|
|
{{ end }}
|
||
|
|
</div>
|
||
|
|
</aside>
|
||
|
|
{{ end }}
|
||
|
|
|