2024-01-08 09:51:11 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ if not .Params.menu }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
<p class="byline">
|
|
|
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
|
|
|
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
|
|
|
|
</time>
|
|
|
|
{{ with .Params.author }}· {{.}}{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
<content>
|
2024-01-10 09:51:59 +01:00
|
|
|
{{ $data := index .Site.Data .Site.Language.Lang }}
|
|
|
|
{{ range (.Params.references) }}
|
|
|
|
<div class="blog-reference">
|
|
|
|
<p class="blog-reference-title"><a href="{{ .url }}">{{ .name }}</a></p>
|
|
|
|
<p class="blog-reference-subtitle">{{ $data.references.by }} {{ .author }}</p>
|
|
|
|
<p class="blog-reference-description">{{ .description }}</p>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
2024-01-08 09:51:11 +01:00
|
|
|
{{ .Content }}
|
|
|
|
</content>
|
|
|
|
<p>
|
|
|
|
{{ range (.GetTerms "tags") }}
|
|
|
|
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ with .Site.Params.social.email }}
|
|
|
|
<p>
|
|
|
|
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
|
|
|
|
{{ i18n "email-reply" }} ↪
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|