2020-01-31 15:53:04 +01:00
|
|
|
{{- $modify_date := .Lastmod.Format (.Site.Params.dateFormatToUse | default "2006-01-02") -}}
|
2019-08-24 13:32:41 +02:00
|
|
|
<div class="post-footer" id="post-footer">
|
2019-08-18 19:36:52 +02:00
|
|
|
<div class="post-info">
|
2019-08-19 07:26:39 +02:00
|
|
|
<div class="post-info-line">
|
|
|
|
<div class="post-info-mod">
|
2020-01-31 15:53:04 +01:00
|
|
|
<span>
|
|
|
|
{{- printf (T "lastMod") $modify_date -}}
|
2020-03-03 18:27:30 +01:00
|
|
|
{{- with .GitInfo -}}
|
|
|
|
{{- $gitHash := .Hash -}}
|
|
|
|
<a class="git-hash" {{ with $.Site.Params.gitRepo }}href="{{ printf `%s/commit/%s` . $gitHash }}" target="_blank"{{ else }}href="javascript:void(0);"{{ end }} title="commit by {{ .AuthorName }}({{ .AuthorEmail }}) {{ $gitHash }}: {{ .Subject }}">
|
|
|
|
<i class="fas fa-hashtag fa-fw"></i>{{- .AbbreviatedHash -}}
|
|
|
|
</a>
|
|
|
|
{{- end -}}
|
2020-01-31 15:53:04 +01:00
|
|
|
</span>
|
2019-08-19 07:26:39 +02:00
|
|
|
</div>
|
|
|
|
<div class="post-info-license">
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- if .Params.license -}}
|
|
|
|
<span>
|
|
|
|
{{- printf (T "license") .Params.license | safeHTML -}}
|
|
|
|
</span>
|
|
|
|
{{- end -}}
|
2019-08-19 07:26:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="post-info-line">
|
|
|
|
<div class="post-info-md">
|
2020-03-08 14:02:21 +01:00
|
|
|
{{- if ne .Site.Params.page.linkToMarkdown false | and (ne .Params.linkToMarkdown false) -}}
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- with .OutputFormats.Get "markdown" -}}
|
|
|
|
<span>
|
2020-03-09 13:25:55 +01:00
|
|
|
<a class="link-to-markdown" href="{{ .RelPermalink }}" target="_blank">
|
2020-02-17 19:53:07 +01:00
|
|
|
{{- T "seeMarkdown" -}}
|
2020-01-31 15:53:04 +01:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2019-08-19 07:26:39 +02:00
|
|
|
</div>
|
|
|
|
<div class="post-info-share">
|
2020-02-24 10:00:39 +01:00
|
|
|
<span>
|
|
|
|
{{- partial "plugin/share.html" . -}}
|
|
|
|
</span>
|
2019-08-19 07:26:39 +02:00
|
|
|
</div>
|
2019-08-18 19:36:52 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-08-26 19:15:00 +02:00
|
|
|
<div class="post-info-more">
|
2019-08-18 19:36:52 +02:00
|
|
|
<section>
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- with .Params.tags -}}
|
2020-03-14 07:42:12 +01:00
|
|
|
<i class="fas fa-tags fa-fw"></i>
|
|
|
|
{{- range $index, $value := . -}}
|
|
|
|
{{- if gt $index 0 }}, {{ end -}}
|
|
|
|
<a href="{{ `/tags/` | relLangURL }}{{ urlize $value }}">{{ $value }}</a>
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2019-08-18 19:36:52 +02:00
|
|
|
</section>
|
|
|
|
<section>
|
2020-02-19 11:48:37 +01:00
|
|
|
<span><a href="javascript:window.history.back();">{{ T "back" }}</a></span> | <span><a href="{{ `/` | relLangURL }}">{{ T "home" }}</a></span>
|
2019-08-18 19:36:52 +02:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="post-nav">
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- if .PrevInSection -}}
|
2020-03-09 13:25:55 +01:00
|
|
|
<a href="{{ .PrevInSection.RelPermalink }}" class="prev" rel="prev" title="{{ .PrevInSection.Title }}"><i class="fas fa-angle-left fa-fw"></i>{{ .PrevInSection.Title }}</a>
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- end -}}
|
2019-08-18 19:36:52 +02:00
|
|
|
{{ if .NextInSection }}
|
2020-03-09 13:25:55 +01:00
|
|
|
<a href="{{ .NextInSection.RelPermalink }}" class="next" rel="next" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}<i class="fas fa-angle-right fa-fw"></i></a>
|
2020-01-31 15:53:04 +01:00
|
|
|
{{- end -}}
|
2019-08-18 19:36:52 +02:00
|
|
|
</div>
|
2020-02-06 17:10:00 +01:00
|
|
|
</div>
|