Fix trailing slashes on out links

This commit is contained in:
Joshua Goins 2023-04-17 15:30:56 -04:00
parent e826de1771
commit 6d0296fec2

View file

@ -8,7 +8,7 @@
{{ $img := resources.Get $path }} {{ $img := resources.Get $path }}
{{ with $img }} {{ with $img }}
<!-- Some browsers (safari) sucks and blocks 88x31, so force them to be 89x31 instead. --> <!-- Some browsers (safari) sucks and blocks 88x31, so force them to be 89x31 instead. -->
<img src="{{ .RelPermalink }}" style="width: auto; height: 31px; image-rendering: pixelated;" alt="{{ $label }}" width="{{ add .Width 1 }}" height="{{ .Height }}"/> <img src="{{ .RelPermalink }}" style="width: auto; height: 31px; image-rendering: pixelated;" alt="{{ $label }}" width="{{ add .Width 1 }}" height="{{ .Height }}">
{{ end }} {{ end }}
</a> </a>