summaryrefslogtreecommitdiff
path: root/themes/LoveIt/layouts/partials/single/footer.html
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-21 21:01:11 +0200
commit582a8a33aff644a6b07534aaf677973abc6f154c (patch)
tree069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/partials/single/footer.html
parent038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff)
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/partials/single/footer.html')
-rw-r--r--themes/LoveIt/layouts/partials/single/footer.html85
1 files changed, 0 insertions, 85 deletions
diff --git a/themes/LoveIt/layouts/partials/single/footer.html b/themes/LoveIt/layouts/partials/single/footer.html
deleted file mode 100644
index 1ce50db..0000000
--- a/themes/LoveIt/layouts/partials/single/footer.html
+++ /dev/null
@@ -1,85 +0,0 @@
-{{- $params := .Scratch.Get "params" -}}
-
-<div class="post-footer" id="post-footer">
- <div class="post-info">
- <div class="post-info-line">
- <div class="post-info-mod">
- <span>
- {{- with .Site.Params.dateformat | default "2006-01-02" | .Lastmod.Format -}}
- {{- dict "Date" . | T "updatedOnDate" -}}
- {{- if $.Site.Params.gitRepo -}}
- {{- with $.GitInfo -}}
- &nbsp;<a class="git-hash" href="{{ printf `%v/commit/%v` $.Site.Params.gitRepo .Hash }}" target="_blank" title="commit by {{ .AuthorName }}({{ .AuthorEmail }}) {{ .Hash }}: {{ .Subject }}">
- <i class="fas fa-hashtag fa-fw" aria-hidden="true"></i>{{- .AbbreviatedHash -}}
- </a>
- {{- end -}}
- {{- end -}}
- {{- end -}}
- </span>
- </div>
- {{- with $params.license | string -}}
- <div class="post-info-license">
- <span>
- {{- . | safeHTML -}}
- </span>
- </div>
- {{- end -}}
- </div>
- <div class="post-info-line">
- <div class="post-info-md">
- {{- if $params.linktomarkdown -}}
- {{- with .OutputFormats.Get "markdown" -}}
- <span>
- <a class="link-to-markdown" href="{{ .RelPermalink }}" target="_blank">
- {{- T "readMarkdown" -}}
- </a>
- </span>
- {{- end -}}
- {{- end -}}
- </div>
- <div class="post-info-share">
- <span>
- {{- partial "plugin/share.html" . -}}
- </span>
- </div>
- </div>
- </div>
-
- <div class="post-info-more">
- <section class="post-tags">
- {{- with .Params.tags -}}
- <i class="fas fa-tags fa-fw" aria-hidden="true"></i>&nbsp;
- {{- range $index, $value := . -}}
- {{- if gt $index 0 }},&nbsp;{{ end -}}
- {{- $tag := partialCached "function/path.html" $value $value | printf "/tags/%v" | $.Site.GetPage -}}
- <a href="{{ $tag.RelPermalink }}">{{ $tag.Title }}</a>
- {{- end -}}
- {{- end -}}
- </section>
- <section>
- <span><a href="javascript:void(0);" onclick="window.history.back();">{{ T "back" }}</a></span>&nbsp;|&nbsp;<span><a href="{{ .Site.Home.RelPermalink }}">{{ T "home" }}</a></span>
- </section>
- </div>
-
- <div class="post-nav">
- {{- $prevPage := false -}}
- {{- $nextPage := false -}}
- {{- if or (.Params.prev) (.Params.next) -}}
- {{- with .Params.prev -}}
- {{- $prevPage = $.Site.GetPage . -}}
- {{- end -}}
- {{- with .Params.next -}}
- {{- $nextPage = $.Site.GetPage . -}}
- {{- end -}}
- {{- else -}}
- {{- $prevPage = .PrevInSection -}}
- {{- $nextPage = .NextInSection -}}
- {{- end -}}
- {{- with $prevPage -}}
- <a href="{{ .RelPermalink }}" class="prev" rel="prev" title="{{ .Title }}"><i class="fas fa-angle-left fa-fw" aria-hidden="true"></i>{{ .Title | emojify }}</a>
- {{- end -}}
- {{ with $nextPage }}
- <a href="{{ .RelPermalink }}" class="next" rel="next" title="{{ .Title }}">{{ .Title | emojify }}<i class="fas fa-angle-right fa-fw" aria-hidden="true"></i></a>
- {{- end -}}
- </div>
-</div>