diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 7 | ||||
-rw-r--r-- | layouts/partials/nav.html | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cd6b095..30de616 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,4 +17,11 @@ <a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a> {{ end }} </p> +{{ with .Site.Social.email }} + <p> + <a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'> + {{ i18n "email-reply" }} ↪ + </a> + </p> +{{ end }} {{ end }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 2cc03a2..e78affe 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,9 +1,6 @@ {{ range .Site.Menus.main.ByWeight }} <a href="{{ .URL }}">{{ .Name }}</a> {{ end }} -{{ with .Site.Social.email }} -<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>Email</a> -{{ end }} <a href="{{ relLangURL .Site.Params.blogPath }}/index.xml">RSS</a> <!-- Convert this page's translations into a dict --> |