27 lines
744 B
HTML
27 lines
744 B
HTML
{{ define "main" }}
|
|
<main>
|
|
<article class="flex flex-col md:justify-center md:items-center gap-4 ml-10">
|
|
<h1 class="text-2xl">{{ .Title }}</h1>
|
|
<time datetime="{{ .Date.Format "2006-01-02T15:04:05" }}">{{ .Date.Format "02.01.2006 15:04" }}</time>
|
|
{{ with .Params.tags }}
|
|
<div>
|
|
<ul id="tags">
|
|
{{ range . }}
|
|
<li class="badge badge-outline"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|
|
<div class="prose sm:prose-sm dark:prose-invert">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ with .Site.DisqusShortname }}
|
|
<div>
|
|
{{ template "_internal/disqus.html" . }}
|
|
</div>
|
|
{{ end }}
|
|
</article>
|
|
</main>
|
|
{{ partial "sidebar.html" . }}
|
|
{{ end }}
|