Skip to content

Commit

Permalink
fix slice args
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Apr 4, 2024
1 parent a3bba15 commit 9a66ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<a id="home" href="{{ site.url }}{{ site.baseurl }}">Home</a>
<br>
{% assign alls = site.psets | sort %}
{% assign sets = alls | slice: -2 | reverse | concat: alls | slice: -2 %}
{% assign sets = alls | slice: -2 | reverse | concat: alls | slice: 0, 13 %}
{% for pset in sets %}
{% if pset.title == page.title %}
<br><a href="{{ site.baseurl }}{{ pset.url }}" class="active">{{ pset.title }}</a>
Expand Down

0 comments on commit 9a66ab0

Please sign in to comment.