Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/meibenny/elephants.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Mei <meibenny@gmail.com>2018-01-02 06:59:09 +0300
committerBenny Mei <meibenny@gmail.com>2018-01-02 06:59:09 +0300
commit9e59e0fefea614da136c8c4c951ed0a6e6080f4b (patch)
tree22fc16472336a23f1feff625316c6cffd83faedc
parenta47d4289079fe5717e254ba270cf8ce0185363c2 (diff)
fix|sort posts in reverse chronological order
-rw-r--r--layouts/index.html2
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>