website/layouts/_default/single.html

21 lines
469 B
HTML

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