diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 345baae..153d6da 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -46,11 +46,8 @@ --- {{ $subject := printf "Re: %s" .Title -}} {{ $subject := urlquery $subject | replaceRE `\+` "%20" }} -{{ $path := .Page.RelPermalink | path.Dir -}} -{{ $path := strings.Trim $path "/" -}} -{{ $address := printf "blogreply.%s@%s" $path "runtimeterror.dev" -}} -=> mailto:{{ $address }}?subject={{ $subject }} 📧 Reply by email +=> mailto:wheel.east.brief@clkdmail.com?subject={{ $subject }} 📧 Reply by email {{ $related := first 3 (where (where .Site.RegularPages.ByDate.Reverse ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} {{ if $related }} ## Related articles diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 11c8247..802737d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -39,13 +39,10 @@ {{- else if eq .Params.reply false }} {{- $reply = false }} {{- end }} - {{- if or (eq $reply true) (eq .Site.Params.analytics "true") }} + {{- if eq $reply true }}
{{- if (eq $reply true) }} - {{- $path := .Page.RelPermalink | path.Dir }} - {{- $path := strings.Trim $path "/" }} - {{- $address := printf "blogreply.%s@%s" $path "runtimeterror.dev" }} - 📧 Reply by email + 📧 Reply by email {{- end }} {{- end }}