commit abadd4a3890ae5dcd84480e63d7399cd01aa2b5e
parent 01599ee8a337b370528f800c72ba13a3623a5322
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Mon, 31 Aug 2020 19:00:03 +0200
Add contact page
Diffstat:
4 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/content/_index.md b/content/_index.md
@@ -16,7 +16,7 @@ about my academic/professional life, check out [my LinkedIn profile][li].
## Contact me
-Feel free to contact me at [oscar@oscarbenedito.com][em].
+Feel free to contact me! Details can be found on my [contact page][c].
[cfis]: <https://cfis.upc.edu/es> "Interdisciplinary Higher Education Center (CFIS)"
@@ -26,4 +26,4 @@ Feel free to contact me at [oscar@oscarbenedito.com][em].
[gl]: <https://gitlab.com/oscarbenedito> "GitLab profile"
[gh]: <https://github.com/oscarbenedito> "GitHub profile"
[li]: <https://www.linkedin.com/in/oscarbenedito> "LinkedIn profile"
-[em]: <mailto:oscar@oscarbenedito.com>
+[c]: </contact/> "Contact page"
diff --git a/content/about.md b/content/about.md
@@ -28,10 +28,6 @@ You can find the site's source code on [this repository][repo].
You can find all the JavaScript run on the site along with the licenses and
source code in the [JavaScript Web Labels page][jswl].
-## Contact
-
-You can contact me sending me an email to [oscar@oscarbenedito.com][email].
-
[hetzner]: <https://www.hetzner.com> "Hetzner"
[gpl]: <https://www.gnu.org/licenses/gpl-3.0.html> "GNUGeneral Public License version 3"
@@ -40,4 +36,3 @@ You can contact me sending me an email to [oscar@oscarbenedito.com][email].
[cc-by-local]: </licenses/cc-by-4.0/> "Creative Commons Attribution 4.0 International License"
[repo]: <https://git.oscarbenedito.com/oscarbenedito.com/> "Source code"
[jswl]: </jsweblabels/> "JavaScript Web Labels"
-[email]: <mailto:oscar@oscarbenedito.com>
diff --git a/content/contact.md b/content/contact.md
@@ -0,0 +1,24 @@
+---
+title: Contact me
+type: page
+---
+
+You can contact me sending an email to [oscar@oscarbenedito.com][email].
+
+## Encrypt your message
+
+If you want to encrypt your message using PGP, you can either use the Web Key
+Directory standard or get my public key from [this address][key]. My PGP key
+fingerprint is:
+
+```
+2D64 7040 7548 446A 3F35 D775 621D 67E0 9F48 82A6
+```
+
+If you don't know how to use PGP but still want to encrypt your message, you can
+use [Keyoxide][ko] (at your own risk).
+
+
+[email]: <mailto:oscar@oscarbenedito.com>
+[key]: </pgp/pubkey.asc> "Oscar Benedito's public PGP key"
+[ko]: <https://keyoxide.org/oscar@oscarbenedito.com> "Keyoxide profile"
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
@@ -2,6 +2,6 @@
<div class="content">
{{- $logo := resources.Get "img/logo.svg" | fingerprint }}
<a href="/" title="Home"><svg class="logo" style="height: 1.6em;" viewBox="0 0 84.665 8.89"><use xlink:href="{{ $logo.RelPermalink }}#l"></use></svg></a>
- <nav><a href="/blog/">Blog</a> · <a href="/resources/">Resources</a> · <a href="https://git.oscarbenedito.com">Git</a></nav>
+ <nav><a href="/blog/">Blog</a> · <a href="/resources/">Resources</a> · <a href="/contact/">Contact</a> · <a href="https://git.oscarbenedito.com">Git</a></nav>
</div>
</header>