website/layouts/_default/single.html

23 lines
614 B
HTML

{{ define "main" }}
<main>
<article>
<h1>{{ .Title }}</h1>
<aside id="toc">
<p>Conteúdo:</p>
{{ .Page.TableOfContents }}
</aside>
<div>
{{ .Content }}
</div>
<div>
<i>Criado em <time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time>. Editado em <time>{{ .Lastmod.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time>.</i>
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
</div>
</article>
</main>
{{ partial "sidebar.html" . }}
{{ end }}