mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +00:00
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:
1 parent
dbff41d012
commit
325de15e22
1 file changed
+1
-1
@@ -4,5 +4,5 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $version = $version | strings.TrimPrefix "v" }}
|
{{ $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">
|
<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>
|
<a href="{{ printf "https://github.com/gohugoio/hugo/releases/tag/v" $version }}" target="_blank">New in v{{$version}}</a>
|
||||||
</button>
|
</button>
|
||||||
Reference in new issue
Block a user