summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-18 20:52:15 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-18 20:52:15 +0200
commit7b38bc0dfe7bcd4e0beef6e1e7083038e2455f14 (patch)
tree25da652235854c4ad919d8782410300a716d5918
parent1c7d99e7e875b86d6ec08dd90860980037d0451f (diff)
downloadblog-7b38bc0dfe7bcd4e0beef6e1e7083038e2455f14.tar.gz
blog-7b38bc0dfe7bcd4e0beef6e1e7083038e2455f14.tar.bz2
Ensure recipes sort alphabetically
-rw-r--r--layouts/recipes/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html
index 0565d93..5da230f 100644
--- a/layouts/recipes/list.html
+++ b/layouts/recipes/list.html
@@ -2,7 +2,7 @@
<h1>{{ .Title }}</h1>
{{ .Content }}
<ul>
- {{- range .Paginator.Pages }}
+ {{- range sort .Paginator.Pages "Title" }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<small>