made target _blank in footer urls

This commit is contained in:
aethrvmn 2024-09-07 14:19:37 +03:00
parent ed1d5f5afb
commit 013596b524

View file

@ -28,7 +28,9 @@
{{ with .Site.Params.footer }} {{ with .Site.Params.footer }}
<hr/> <hr/>
{{ . | markdownify }} {{ $footerHTML := . | markdownify }}
{{ $footerHTML = replace $footerHTML "<a>" "<a target='_blank'>" }}
{{ $footerHTML | safeHTML }}
{{ end }} {{ end }}
</footer> </footer>
</body> </body>