We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2be34 commit d7f3517Copy full SHA for d7f3517
layouts/partials/changelog-date.html
@@ -1,11 +1,10 @@
1
{{ $changelogContent := readFile "content/nginx-one/changelog.md" }}
2
{{ $maxNumLogs := 3 }}
3
{{ $headings := first $maxNumLogs (findRE `(?m)^##\s(.+)$` $changelogContent) }}
4
-
5
<ul style="padding-top: 10px;">
6
- {{ range $headings }}
7
- {{$title := replaceRE "^##\\s" "" .}}
8
- <li><a href="{{ absURL "nginx-one/changelog/" }}#{{urlize $title}}">{{ $title }}</a></li>
9
- {{ end }}
10
- <li><a href="{{ absURL "nginx-one/changelog/" }}">Older...</a></li>
+ {{ range $headings }}
+ {{ $title := replaceRE "^##\\s" "" . }}
+ <li><a href="{{ absURL "nginx-one/changelog/" }}#{{urlize $title}}">{{ $title }}</a></li>
+ {{ end }}
+ <li><a href="{{ absURL "nginx-one/changelog/" }}">Older...</a></li>
11
</ul>
0 commit comments