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

github.com/orf/bare-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 77353c2..c0ec319 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -35,11 +35,13 @@
</span>
</a>
{{ end }}
+ {{ with $.Site.Params.email }}
<a class="navbar-item" href="mailto:{{ .Site.Params.email }}" target="_blank">
<span class="icon">
<img alt="email" src='{{ (resources.Get "icons/svg/email.svg").Permalink }}'>
</span>
</a>
+ {{ end }}
{{ with $.Site.Home.OutputFormats.Get "rss" -}}
<a class="navbar-item" href="{{ .Permalink }}" target="_blank">
<span class="icon">