diff options
author | Benny Mei <meibenny@gmail.com> | 2018-01-02 06:59:09 +0300 |
---|---|---|
committer | Benny Mei <meibenny@gmail.com> | 2018-01-02 06:59:09 +0300 |
commit | 9e59e0fefea614da136c8c4c951ed0a6e6080f4b (patch) | |
tree | 22fc16472336a23f1feff625316c6cffd83faedc | |
parent | a47d4289079fe5717e254ba270cf8ce0185363c2 (diff) |
fix|sort posts in reverse chronological order
-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 6efa0b1..441ab57 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 }} <div id="posts"> <div id=date class="date-time-title"> <time>{{ .Date.Format (.Site.Params.dateform | default "Jan 2 2006") }}</time> |