add variable for "get in touch" text

This commit is contained in:
Lutz Reinhardt
2021-12-28 15:07:18 +01:00
parent 28e5d1b6e7
commit be5a5bf6be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
<div class="py-3 pl-2"> <div class="py-3 pl-2">
<a href="mailto:{{ .Site.Params.email }}?subject=Say hi!" target="_blank" <a href="mailto:{{ .Site.Params.email }}?subject=Say hi!" target="_blank"
class="contact-btn btn text-muted"> class="contact-btn btn text-muted">
Get In Touch {{ .Site.Params.getintouch | default "Get in Touch" }}
</a> </a>
</div> </div>
{{ end }} {{ end }}
+1 -1
View File
@@ -7,7 +7,7 @@
{{ if .Site.Params.email }} {{ if .Site.Params.email }}
<div class="text-center pt-3"> <div class="text-center pt-3">
<a href="mailto:{{ .Site.Params.email }}?subject=Say hi!" class="contact-btn btn text-muted"> <a href="mailto:{{ .Site.Params.email }}?subject=Say hi!" class="contact-btn btn text-muted">
Get In Touch {{ .Site.Params.getintouch | default "Get in Touch" }}
</a> </a>
</div> </div>
{{ end }} {{ end }}