pidgin/nest

Clean up the way supporters is rendered and remove the powered by libpurple one (pull request #19)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hugo/data/supporters.json Sat May 04 17:16:46 2019 +0000
@@ -0,0 +1,12 @@
+[
+ {
+ "url": "https://sourceforge.net",
+ "badge": "Sourceforge_logo.png"
+ }, {
+ "url": "https://networkredux.com/",
+ "badge": "networkredux.png"
+ }, {
+ "url": "https://packagecloud.io/",
+ "badge": "packagecloud.png"
+ }
+]
\ No newline at end of file
--- a/hugo/layouts/partials/footline.html Sat May 04 17:06:43 2019 +0000
+++ b/hugo/layouts/partials/footline.html Sat May 04 17:16:46 2019 +0000
@@ -1,6 +1,6 @@
-<footer class=" footline" >
+<footer class="footline" >
<hr>
-
+
{{ 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>
--- a/hugo/layouts/partials/supporters.html Sat May 04 17:06:43 2019 +0000
+++ b/hugo/layouts/partials/supporters.html Sat May 04 17:16:46 2019 +0000
@@ -1,8 +1,8 @@
<section class="supporters">
<b>{{ T "Our-Supporters" }}</b>
<div>
- {{ range (readDir "./static/images/badges") }}
- <a> <img src="/images/badges/{{ .Name }}" /> </a> {{ end }}
+ {{ range .Site.Data.supporters }}
+ <a href="{{ .url | safeHTMLAttr }}"> <img src="/images/badges/{{ .badge }}" /> </a> {{ end }}
</div>
</section>