2025-06-07 02:33:02 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
2025-06-20 02:33:45 +02:00
|
|
|
{{ $dateHuman := .Date | time.Format ":date_short" }}
|
2025-06-07 02:33:02 +02:00
|
|
|
<article class="h-entry">
|
|
|
|
<header>
|
2025-06-20 02:33:45 +02:00
|
|
|
{{ with .GetTerms "categories" }}
|
|
|
|
<p class="category">
|
|
|
|
{{ range . }}
|
|
|
|
<a class="p-category" rel="tag" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
|
|
|
{{ break }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
<h1 class="p-name">
|
|
|
|
{{ .Title }}
|
|
|
|
</h1>
|
2025-06-07 02:33:02 +02:00
|
|
|
<div class="metadata">
|
|
|
|
<p>
|
2025-06-20 02:33:45 +02:00
|
|
|
{{ T "posted" }}
|
2025-06-07 02:33:02 +02:00
|
|
|
<time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
|
|
|
</p>
|
|
|
|
{{ partial "tags.html" . }}
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2025-07-06 14:22:12 +02:00
|
|
|
|
|
|
|
{{ with .TableOfContents }}
|
|
|
|
{{- if ne . `<nav id="TableOfContents"></nav>` }}
|
|
|
|
<section class="table-of-contents">
|
|
|
|
<p>{{ T "table_of_contents" }}</p>
|
|
|
|
{{ . }}
|
|
|
|
</section>
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
2025-06-07 02:33:02 +02:00
|
|
|
<section class="e-content">
|
|
|
|
{{ .Content }}
|
|
|
|
</section>
|
2025-07-06 14:22:12 +02:00
|
|
|
|
|
|
|
<footer>
|
|
|
|
Any comment? Remark? Suggestion? <a href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title }}">Send me an email</a>!
|
|
|
|
</footer>
|
2025-06-07 02:33:02 +02:00
|
|
|
</article>
|
|
|
|
{{ end }}
|