2019-07-08 07:05:23 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<section id="main">
|
|
|
|
<header>
|
|
|
|
<h1 id="title">{{ .Title }}</h1>
|
|
|
|
<h4 id="date">{{ .Date.Format "2006-01-02" }}</h4>
|
|
|
|
</header>
|
|
|
|
<article id="content">
|
|
|
|
{{ .Content }}
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{/*
|
|
|
|
<aside id="meta">
|
|
|
|
<div>
|
|
|
|
<section>
|
|
|
|
</section>
|
|
|
|
{{ with .Params.topics }}
|
|
|
|
<ul id="topics">
|
|
|
|
{{ range . }}
|
|
|
|
<li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Params.tags }}
|
|
|
|
<ul id="tags">
|
|
|
|
{{ range . }}
|
|
|
|
<li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
|
|
|
</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 }}
|
|
|
|
|