added gpg key in footer
authordanix <danix@danix.xyz>
Wed, 1 Mar 2023 16:55:49 +0000 (17:55 +0100)
committerdanix <danix@danix.xyz>
Wed, 1 Mar 2023 16:55:49 +0000 (17:55 +0100)
assets/SVGs/key.svg [new file with mode: 0644]
layouts/partials/footer.html

diff --git a/assets/SVGs/key.svg b/assets/SVGs/key.svg
new file mode 100644 (file)
index 0000000..ebe68f7
--- /dev/null
@@ -0,0 +1,3 @@
+<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+    <path fill="currentColor" d="M14.2601,11.3007 L13.6944,10.4761 L13.1501,10.8496 L13.2796,11.4968 L14.2601,11.3007 Z M9.73986,11.3007 L10.7204,11.4968 L10.8499,10.8496 L10.3056,10.4761 L9.73986,11.3007 Z M8,20 L7.01942,19.8039 L6.7802,21 L8,21 L8,20 Z M16,20 L16,21 L17.2198,21 L16.9806,19.8039 L16,20 Z M15,8 C15,9.02693 14.4849,9.93381 13.6944,10.4761 L14.8259,12.1253 C16.1367,11.226 17,9.71393 17,8 L15,8 Z M12,5 C13.6569,5 15,6.34315 15,8 L17,8 C17,5.23858 14.7614,3 12,3 L12,5 Z M9,8 C9,6.34315 10.3431,5 12,5 L12,3 C9.23858,3 7,5.23858 7,8 L9,8 Z M10.3056,10.4761 C9.51509,9.93381 9,9.02693 9,8 L7,8 C7,9.71393 7.86326,11.226 9.17413,12.1253 L10.3056,10.4761 Z M8.98058,20.1961 L10.7204,11.4968 L8.75927,11.1046 L7.01942,19.8039 L8.98058,20.1961 Z M16,19 L8,19 L8,21 L16,21 L16,19 Z M13.2796,11.4968 L15.0194,20.1961 L16.9806,19.8039 L15.2407,11.1046 L13.2796,11.4968 Z" id="Shape"></path>
+</svg>
\ No newline at end of file
index 95d02d6..ba45dee 100644 (file)
@@ -3,9 +3,7 @@
                <div class="row">
                        <div class="col-4 col-12-medium">
                                <ul class="footer-tools">
-                                       {{ with .OutputFormats.Get "rss" -}}
-                                       <li><a href="{{.Permalink}}" title="{{$.Site.Title}}" target="_blank">{{- partial "funcs/svg.html" (dict "context" . "username" "rss") -}}<span class="screen-reader-text">RSS Feed</span></a></li>
-                                       {{ end -}}
+                                       <li><a href="/danix_pubkey.asc" title="My public GPG key" target="_blank">{{- partial "funcs/svg.html" (dict "context" . "username" "key") -}}<span class="screen-reader-text">My GnuPG public key</span></a></li>
                                        <li><a href="{{.Site.BaseURL}}sitemap.xml" target="_blank">{{- partial "funcs/svg.html" (dict "context" . "username" "sitemap") -}}<span class="screen-reader-text">sitemap</span></a></li>
                                        <li><a href="{{ ref . "legal" }}">{{- partial "funcs/svg.html" (dict "context" . "username" "lock-open") -}}<span class="screen-reader-text">Privacy Policy</span></a></li>
                                </ul>