website/layouts/_default/single.html

17 lines
399 B
HTML
Raw Normal View History

2022-09-28 20:49:59 +00:00
{{ define "main" }}
<main>
<article>
<h1>{{ .Title }}</h1>
<div>Publié le <b><time>{{ .Date | time.Format ":date_full" }}</time></b></div>
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
<div>
{{ .Content }}
</div>
</article>
</main>
{{ partial "sidebar.html" . }}
{{ end }}