fix link to latest release note

since the release notes were moved to GitHub:
https://gohugo.io/news/no-more-releasenotes-here/
This commit is contained in:
Yannic Haupenthal
2022-03-01 14:15:43 +07:00
committed by Bjørn Erik Pedersen
parent dbff41d012
commit 325de15e22
+2 -2
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://gohugo.io/news/%s-relnotes/" $version }}" target="_blank">New in v{{$version}}</a>
</button>
<a href="{{ printf "https://github.com/gohugoio/hugo/releases/tag/v" $version }}" target="_blank">New in v{{$version}}</a>
</button>