Skip to content

Commit

Permalink
MVL-589: Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Heckmann committed Nov 14, 2023
1 parent 55794f1 commit 8cf7232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mevislab.github.io/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ <h2>Learn to use MeVisLab</h2>
<h4>Recent Additions:</h4>
<p>
{{ $currentIndex := 1 }}
{{ range ( where .Site.RegularPages.ByDate "Kind" "page" | last 5 ) }}
<p>{{ $currentIndex }} [{{ .Parent.Title }}]: <a href="{{ .Permalink }}" class="alert-link">{{ .Title }}</a></p>
{{ range ( where .Site.RegularPages.ByDate.Reverse "Kind" "page" | first 5 ) }}
<p>[{{ .Date.Format "2006-01-01" }}]: <a href="{{ .Permalink }}" class="alert-link">{{ .Title }}</a></p>
{{ $currentIndex = add $currentIndex 1 }}
{{ end }}
</p>
Expand Down

0 comments on commit 8cf7232

Please sign in to comment.