LoveIt/layouts/partials/single/footer.html

66 lines
2.6 KiB
HTML
Raw Normal View History

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 -}}
</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">
{{- if .Site.Params.page.linkToMarkdown -}}
2020-01-31 15:53:04 +01:00
{{- with .OutputFormats.Get "markdown" -}}
<span>
<a class="link-to-markdown" href="{{ .Permalink }}" target="_blank">
{{- 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">
{{- if .Site.Params.page.socialShare -}}
2020-01-31 15:53:04 +01:00
<span>
2020-02-21 16:42:35 +01:00
{{- partial "plugin/share.html" . -}}
2020-01-31 15:53:04 +01:00
</span>
{{- end -}}
2019-08-19 07:26:39 +02:00
</div>
2019-08-18 19:36:52 +02:00
</div>
</div>
<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 -}}
{{- range . -}}
<span>
<a href="{{ `/tags/` | relLangURL }}{{ urlize .}}">
<i class="fas fa-tag fa-fw"></i>{{ . }}
</a>
</span>&nbsp;
2020-01-31 15:53:04 +01:00
{{- end -}}
{{- end -}}
2019-08-18 19:36:52 +02:00
</section>
<section>
<span><a href="javascript:window.history.back();">{{ T "back" }}</a></span>&nbsp;|&nbsp;<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 -}}
<a href="{{ .PrevInSection.Permalink }}" 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 }}
<a href="{{ .NextInSection.Permalink }}" 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>