diff options
author | Frank Blechschmidt <contact@frank-blechschmidt.com> | 2023-05-22 22:53:40 -0700 |
---|---|---|
committer | Frank Blechschmidt <contact@frank-blechschmidt.com> | 2023-05-22 22:53:40 -0700 |
commit | cf7789dbc3ebfdac3365a72a1eca2b7efeca916b (patch) | |
tree | 26658d51f905a33d8d8f71da10ee27e5f026b8d8 /layouts | |
parent | d8bc79ad2dfb4d70bfe64fa2f349398073b1b0a2 (diff) |
Add possibility to open footer link in new tab
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b027256..9cc8e31 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,7 +9,7 @@ {{ end }} {{ with .Site.Params.footer }} <div class="container text-center"> - <a href="{{ .url | absURL }}" title="{{ .text }}"><small>{{ .text }}</small></a> + <a href="{{ .url | absURL }}" title="{{ .text }}" {{ if .blank }}target="_blank"{{ end }}><small>{{ .text }}</small></a> </div> {{ end }} </div> |