Commit 1adf4c4f authored by ojn's avatar ojn Committed by Shawn Erquhart
Browse files

fix posts appearing in reverse order (#60)

parent 4d6f40f5
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="mw7 center"> <div class="mw7 center">
<ul class="flex-ns flex-wrap mhn1-ns pa3"> <ul class="flex-ns flex-wrap mhn1-ns pa3">
{{ range (.Paginator 4).Pages.ByPublishDate }} {{ range (.Paginator 4).Pages.ByPublishDate.Reverse }}
<div class="w-50-ns ph1-ns flex"> <div class="w-50-ns ph1-ns flex">
{{ .Render "li"}} {{ .Render "li"}}
</div> </div>
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
{{ partial "pagination" . }} {{ partial "pagination" . }}
</div> </div>
{{end}} {{end}}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment