Skip to content
Snippets Groups Projects
Commit 97c456af authored by micressor's avatar micressor
Browse files

Workaround: Passing email in two parts to shortcode

parent 5efb77e4
No related branches found
No related tags found
1 merge request!24Feature hugo migration
......@@ -9,6 +9,21 @@ blackfriday:
Params:
flatterid: 4pq200
Author:
# String to hex encoder: http://www.wbwip.com/wbw/emailencoder.html
main:
- identifier: torsten
name: Torsten Grote
emaillocal: torsten
emaildomain: briarproject.org
keyurl: https://grobox.de/gpg/0x74DCA8A36C52F833.asc
- identifier: michael
name: Michael Rogers
emaillocal: contact
emaildomain: briarproject.org
keyurl: /keys/contact.asc
permalinks:
#post: /:section/:year/:month/:title/
page: /:slug/
......
<h3 id="contact">Contact</h3>
{{ range .Site.Author.main }}
<p>
Torsten Grote <<a
href="mailto:torsten&#64;briarproject.org">torsten&#64;briarproject.org</a>>
[<a href="https://grobox.de/gpg/0x74DCA8A36C52F833.asc">PGP key</a>]
</p>
<p>
Michael Rogers <<a
href="mailto:contact&#64;briarproject.org">contact&#64;briarproject.org</a>>
[<a href="/keys/contact.asc">PGP key</a>]
{{ .name }} <<a
href="mailto:{{ .emaillocal }}&#64;{{ .emaildomain }}"
>{{ .emaillocal }}&#64;{{ .emaildomain }}</a>>
[<a href="{{ .keyurl }}">PGP key</a>]
</p>
{{ end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment