aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/posts.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/_includes/posts.html b/_includes/posts.html
index 692e6ad..5385d1f 100644
--- a/_includes/posts.html
+++ b/_includes/posts.html
@@ -1,9 +1,9 @@
<table class="plainlink" width="100%">
<tr>
- <th><a href="by-date.html" class="{% if include.sort == "date" %}sortcolumn{% endif %}">date</a></th>
- <th><a href="by-title.html" class="{% if include.sort == "title" %}sortcolumn{% endif %}">title</a></th>
+ <th><a href="by-date" class="{% if include.sort == "date" %}sortcolumn{% endif %}">date</a></th>
+ <th><a href="by-title" class="{% if include.sort == "title" %}sortcolumn{% endif %}">title</a></th>
</tr>
- {% assign posts = site.items | sort: include.sort %}
+ {% assign posts = site.items | post_sort: include.sort %}
{% for post in posts %}
<tr>
<td>{{ post.date | datefmt }}</td>