pidgin/nest

ca89cbd18377
Parents c96e5e928659
Children 98448852d734
Add modifciation info and footer meta data
--- a/hugo/layouts/partials/footline.html Sat Jun 08 17:27:46 2019 +0100
+++ b/hugo/layouts/partials/footline.html Sun Jun 09 04:23:49 2019 +0100
@@ -1,10 +1,75 @@
-<footer class="footline" >
- <hr>
+<footer id="footline">
+ <div id="page-info">
+ <div>
+ {{ with .Params.LastModifierDisplayName }}
+ {{ if $.Params.LastModifierEmail }}
+ <a href="mailto:{{ $.Params.LastModifierEmail }}">
+ <i class='fas fa-user'></i> {{ . }}
+ </a>
+ {{ else }}
+ <i class='fas fa-user'></i> {{ . }}
+ {{ end }}
+ {{ else }}
+ <i class='fas fa-user'></i> Anon
+ {{ end }}
+ </div>
- {{ with .Params.LastModifierDisplayName }}
- <i class='fas fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a> {{ with $.Date }} <i class='fas fa-calendar'></i> {{ .Format "02/01/2006" }}{{ end }}
+ <div>
+ <i class='fas fa-calendar'></i>
+ {{ with $.Lastmod }}
+ Modified {{ .Format "02/01/2006" }}
+ {{ else }}
+ An ineffable file, immune to a past
+ {{ end }}
</div>
- {{ end }}
+ </div>
{{ partial "supporters.html" . }}
+
+ <div>
+ {{ with .Site.Menus.footline }}
+ <ul id="footline-columns">
+ {{ range sort . "Weight" }}
+ <li>
+ {{ .Pre }}
+ <a href="{{ .URL | absLangURL }}">{{ safeHTML .Name }}</a>
+ {{ .Post }}
+ </li>
+ {{ end }}
+ </ul>
+ {{ end }}
+
+ {{ with .Site.Menus.shortcuts }}
+ <ul id="footline-columns">
+ {{ range sort . "Weight" }}
+ <li>
+ {{ .Pre }}
+ <a href="{{ .URL | absLangURL }}">{{ safeHTML .Name }}</a>
+ {{ .Post }}
+ </li>
+ {{ end }}
+ </ul>
+ {{ end }}
+
+ <div id="footline-columns">
+ <p>
+ &copy; Pidgin <br/>
+ </p>
+
+ <div class="footline-license">
+ License:
+
+ <ul>
+ <li>
+ Content - GPL3
+ </li>
+ <li>
+ <a href="https://github.com/matcornic/hugo-theme-learn">Theme</a> - MIT<br/>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
</footer>
+
+<div class="build-info">Built: {{ now.Format "02 Jan 06 15:04" }}</div>