summaryrefslogtreecommitdiff
path: root/layouts
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 /layouts
parent1c7d99e7e875b86d6ec08dd90860980037d0451f (diff)
Ensure recipes sort alphabetically
Diffstat (limited to 'layouts')
-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>