Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kimcc/hugo-theme-noteworthy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Ajmal Siddiqui <ajmalsiddiqui21@gmail.com>2021-05-29 09:03:43 +0300
committerMohammed Ajmal Siddiqui <ajmalsiddiqui21@gmail.com>2021-05-29 09:03:43 +0300
commitdf5076a4724d7ff06f71e1fbdc6e55f8a112d637 (patch)
tree89725521790690fcf2cf7d8573f438d53b3dccf7
parentde668f23496e2658924ea749d87e7acbd6fad405 (diff)
Fix email hyperlink templating
-rw-r--r--layouts/partials/social.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 5372740..a5d8039 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,6 +1,6 @@
<div class="social-icons">
{{ if isset .Site.Params "email" }}
- <a class="social-icon" href="{{ .Site.Params.Email }}" target="_blank" rel="noopener" title="Email">
+ <a class="social-icon" href="mailto:{{ .Site.Params.Email }}" target="_blank" rel="noopener" title="Email">
<svg width="28px" height="28px" viewBox="0 0 28 28" version="1.1" fill="#ABABAB" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink">
<path d="M25.2794292,5.59128519 L14,16.8707144 L2.72057081,5.59128519 C3.06733103,5.30237414 3.51336915,5.12857603 4,5.12857603 L24,5.12857603 C24.4866308,5.12857603 24.932669,5.30237414 25.2794292,5.59128519 Z M25.9956978,6.99633695 C25.998551,7.04004843 26,7.08414302 26,7.12857603 L26,20.871424 C26,21.0798433 25.9681197,21.2808166 25.9089697,21.4697335 L18.7156355,14.2763993 L25.9956978,6.99633695 Z M24.9498374,22.6319215 C24.6672737,22.7846939 24.3437653,22.871424 24,22.871424 L4,22.871424 C3.5268522,22.871424 3.09207889,22.7071233 2.74962118,22.432463 L10.0950247,15.0870594 L13.9848068,18.9768415 L14.1878486,18.7737996 L14.2030419,18.7889929 L17.6549753,15.3370594 L24.9498374,22.6319215 Z M2.00810114,21.0526627 C2.00273908,20.9929669 2,20.9325153 2,20.871424 L2,7.12857603 C2,7.08414302 2.00144896,7.04004843 2.00430222,6.99633695 L9.03436454,14.0263993 L2.00810114,21.0526627 Z"></path>
</svg>