pidgin/nest

Rearrange footer order.

2019-08-20, Elliott Sales de Andrade
cba709a65fac
Parents 9baf2dd4a33c
Children e336d00fb674
Rearrange footer order.

Copyright and last modified can fit on one line and are reasonably
important, followed by all links. Supporters can be last.
--- a/hugo/layouts/partials/footline.html Tue Aug 20 00:20:37 2019 -0400
+++ b/hugo/layouts/partials/footline.html Tue Aug 20 00:22:11 2019 -0400
@@ -1,55 +1,48 @@
<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> {{ T "Anon" }}
- {{ end }}
- </div>
-
- <div>
- <i class='fas fa-calendar'></i>
- {{ with $.Lastmod }}
- {{ T "Modified" }} {{ .Format "02/01/2006" }}
- {{ else }}
- {{ T "Last-Modified-Not-Found" }}
- {{ end }}
- </div>
- </div>
-
- {{ partial "supporters.html" . }}
-
<div>
- {{ with .Site.Menus.shortcuts }}
- <ul class="footline-columns">
- {{ range sort . "Weight" }}
- <li>
- {{ .Pre }}
- <a {{ printf "href=%q" .URL | safeHTMLAttr }}>{{ safeHTML .Name }}</a>
- {{ .Post }}
- </li>
- {{ end }}
- </ul>
- {{ end }}
-
<ul class="footline-columns">
<li>
&copy; Pidgin
</li>
-
<li>
{{ T "Content" }} - GPL3
</li>
<li>
<a href="https://github.com/matcornic/hugo-theme-learn">{{ T "Theme" }}</a> - MIT
</li>
+ <li>
+ {{ with $.Lastmod }}
+ Modified {{ .Format "2006-01-02" }}
+ {{ else }}
+ {{ T "Last-Modified-Not-Found" }}
+ {{ end }}
+ by
+ {{ with .Params.LastModifierDisplayName }}
+ {{ if $.Params.LastModifierEmail }}
+ <a href="mailto:{{ $.Params.LastModifierEmail }}">
+ {{ . }}
+ </a>
+ {{ else }}
+ {{ . }}
+ {{ end }}
+ {{ else }}
+ {{ T "Anon" }}
+ {{ end }}
+ </li>
</ul>
</div>
+
+ {{ with .Site.Menus.shortcuts }}
+ <ul class="footline-columns">
+ {{ range sort . "Weight" }}
+ <li>
+ {{ .Pre }}
+ <a {{ printf "href=%q" .URL | safeHTMLAttr }}>{{ safeHTML .Name }}</a>
+ {{ .Post }}
+ </li>
+ {{ end }}
+ </ul>
+ {{ end }}
+
+ {{ partial "supporters.html" . }}
</footer>