diff options
author | david hamp-gonsalves <davidhampgonsalves@gmail.com> | 2018-07-18 16:49:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 16:49:33 +0300 |
commit | 4e24c9d8ec066e167b549c80d7f19d4ce51e2dc4 (patch) | |
tree | 5fe49ec1b2b9625f607c62f3afc8ae12dc306dde | |
parent | e017e2fd442ebe16363433c8ca97d0e533451083 (diff) | |
parent | 51dbb745de0003e7d811045b822d714a04782d9f (diff) |
Merge pull request #11 from csjames/patch-1
update ordering logic to retain previous behaviour on Hugo 0.43
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index f9662c9..63a0896 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@ <section id=content> <ul class=posts_listing> - {{ range .Data.Pages.ByPublishDate }} + {{ range .Data.Pages.ByPublishDate.Reverse }} <li> <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <div id=date> |