22 lines
631 B
HTML
22 lines
631 B
HTML
|
{{ define "main" }}
|
||
|
<main id="main">
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
{{ if isset .Params "tags" }}
|
||
|
<div class="tags">
|
||
|
<strong aria-hidden="true">Tags: </strong>
|
||
|
<ul aria-label="tags">
|
||
|
{{ range .Params.tags }}
|
||
|
<li>
|
||
|
<svg class="tag" aria-hidden="true" height="50" width="50" viewBox="0 0 177.16535 177.16535">
|
||
|
<use xlink:href="#tag"></use>
|
||
|
</svg>
|
||
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
{{ .Content }}
|
||
|
</main>
|
||
|
{{ end }}
|