21 lines
429 B
HTML
21 lines
429 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<article>
|
|
<h1>{{ .Title }}</h1>
|
|
<b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b>
|
|
<div>
|
|
{{ .Content }}
|
|
</div>
|
|
{{ with .Params.tags }}
|
|
<div>
|
|
<ul id="tags">
|
|
{{ range . }}
|
|
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
</article>
|
|
</main>
|
|
{{ partial "sidebar.html" . }}
|
|
{{ end }}
|