From a894c38bc876b757b20f237f3fa9c3caeb764aee Mon Sep 17 00:00:00 2001 From: Micressor <micressor@secure.mailbox.org> Date: Fri, 14 Dec 2018 08:11:37 +0100 Subject: [PATCH] Email addresses should be in config.yaml: Try to fix this later * It's variable transfer problem with hugo shortcodes --- config.yaml | 13 ------------- themes/briar/layouts/shortcodes/contact.html | 11 ----------- 2 files changed, 24 deletions(-) diff --git a/config.yaml b/config.yaml index f6f8b64..1015af8 100644 --- a/config.yaml +++ b/config.yaml @@ -10,19 +10,6 @@ Bla: Params: flatterid: 4pq200 -Author: - main: - - identifier: torsten - name: Torsten Grote - # String to hex encoder: http://www.wbwip.com/wbw/emailencoder.html - email: "torsten@briarproject.org" - keyurl: https://grobox.de/gpg/0x74DCA8A36C52F833.asc - - - identifier: michael - name: Michael Rogers - email: "contact@briarproject.org" - keyurl: /keys/contact.asc - permalinks: #post: /:section/:year/:month/:title/ page: /:slug/ diff --git a/themes/briar/layouts/shortcodes/contact.html b/themes/briar/layouts/shortcodes/contact.html index 90178bb..c9cfcfd 100644 --- a/themes/briar/layouts/shortcodes/contact.html +++ b/themes/briar/layouts/shortcodes/contact.html @@ -9,14 +9,3 @@ Michael Rogers <<a href="mailto:contact@briarproject.org">contact@riarproject.org</a>> [<a href="/keys/contact.asc">PGP key</a>] </p> -<!-- -{{ range .Site.Author.main }} - -<p> -{{ .name }} <<a -href="mailto:{{ .email | safeHTML }}">{{ .email | safeHTML }}</a>> -[<a href="{{ .keyurl }}">PGP key</a>] -</p> - -{{ end }} ---> -- GitLab