all repos — website @ 65d0f7d6ae3df62de74961289d6c3c38438abfa9

personal website hosted at prithu.xyz, built using hugo

change post sorting to descending date
Prithu Goswami prithugoswami524@gmail.com
Fri, 08 May 2020 20:42:15 +0530
commit

65d0f7d6ae3df62de74961289d6c3c38438abfa9

parent

da2c341fd3cfe61ae6b1eee4bbb03a5309586e0e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M hugo-site/layouts/index.htmlhugo-site/layouts/index.html

@@ -125,7 +125,7 @@ <div class=container>

<h1>I also write about stuff</h1> <div class="shadow-box"> <div class="section-text"> - {{ range sort (where .Site.RegularPages "Section" "posts") "Date" }} + {{ range sort (where .Site.RegularPages "Section" "posts") "Date" "desc"}} <a href="{{ .RelPermalink }}" target="_blank"> <div class=section-item> <h2>{{ .Title }}</h2>