Reverse sorting

This commit is contained in:
Valentin Popov 2018-04-11 03:53:45 +00:00
parent 0c6e85f224
commit 76ea2daaf6

View File

@ -2,7 +2,7 @@
<a href="{{ site.baseurl | uri_escape }}" class="navigation-title">Home</a>
<ul class="navigation-list float-right">
<li class="navigation-item">
{% for item in site.pages %}
{% for item in site.pages reversed %}
{% if item.show == true %}
<a href="{{ item.url | relative_url | uri_escape }}" class="navigation-link">
{{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}