ref: 9c7d6e475cfa5ac847ffa9e0abaed3abc7df9f3d
dir: /docs/layouts/shortcodes/new-in.html/
{{ $version := .Get 0 }} {{ if not $version }} {{ errorf "Missing version in new-in shortcode "}} {{ 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>