Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
website
Commits
980bc3f2
Commit
980bc3f2
authored
6 years ago
by
micressor
Browse files
Options
Downloads
Patches
Plain Diff
Workaround: Passing email in two parts to shortcode
parent
531530c7
No related branches found
Branches containing commit
No related tags found
1 merge request
!24
Feature hugo migration
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.yaml
+15
-0
15 additions, 0 deletions
config.yaml
layouts/shortcodes/contact.html
+6
-8
6 additions, 8 deletions
layouts/shortcodes/contact.html
with
21 additions
and
8 deletions
config.yaml
+
15
−
0
View file @
980bc3f2
...
...
@@ -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/
...
...
This diff is collapsed.
Click to expand it.
layouts/shortcodes/contact.html
+
6
−
8
View file @
980bc3f2
<h3
id=
"contact"
>
Contact
</h3>
{{ range .Site.Author.main }}
<p>
Torsten Grote
<
<
a
href=
"mailto:torsten@briarproject.org"
>
torsten
@
briarproject.org
</a>
>
[
<a
href=
"https://grobox.de/gpg/0x74DCA8A36C52F833.asc"
>
PGP key
</a>
]
</p>
<p>
Michael Rogers
<
<
a
href=
"mailto:contact@briarproject.org"
>
contact
@
briarproject.org
</a>
>
[
<a
href=
"/keys/contact.asc"
>
PGP key
</a>
]
{{ .name }}
<
<
a
href=
"mailto:{{ .emaillocal }}@{{ .emaildomain }}"
>
{{ .emaillocal }}
@
{{ .emaildomain }}
</a>
>
[
<a
href=
"{{ .keyurl }}"
>
PGP key
</a>
]
</p>
{{ end }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment