add missing %s

This commit is contained in:
Yannic Haupenthal authored and Bjørn Erik Pedersen committed 2022-03-03 15:54:06 +01:00
1 parent 325de15e22
commit 94660c34b6
1 file changed
+1 -1
+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>