add missing %s

This commit is contained in:
Yannic Haupenthal
2022-03-01 14:17:59 +07:00
committed by Bjørn Erik Pedersen
parent 325de15e22
commit 94660c34b6
+1 -1
View File
@@ -4,5 +4,5 @@
{{ end }}
{{ $version = $version | strings.TrimPrefix "v" }}
<button class="bg-white hover:bg-gray-100 text-gray-800 font-semibold py-2 mr2 ml2 px-4 border border-gray-400 rounded shadow">
<a href="{{ printf "https://github.com/gohugoio/hugo/releases/tag/v" $version }}" target="_blank">New in v{{$version}}</a>
<a href="{{ printf "https://github.com/gohugoio/hugo/releases/tag/v%s" $version }}" target="_blank">New in v{{$version}}</a>
</button>