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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTory S. Anderson <torys.anderson@gmail.com>2020-04-29 21:50:05 +0300
committerTory S. Anderson <torys.anderson@gmail.com>2020-04-29 21:50:05 +0300
commiteebbdbc81480d1d606f7d462a8f04e15013eab5d (patch)
tree8b84295f8e4658d8db1463871b5a991eb78aa498
parent1762091c70ac37d189ba3749ac93a66cf702d37f (diff)
Order recents newest -> oldest
-rw-r--r--layouts/partials/widgets/recent_articles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/widgets/recent_articles.html b/layouts/partials/widgets/recent_articles.html
index d2f2891..506e0d7 100644
--- a/layouts/partials/widgets/recent_articles.html
+++ b/layouts/partials/widgets/recent_articles.html
@@ -5,7 +5,7 @@
</h3>
<div class="widget">
<ul id="recent-post">
- {{ range last 5 .Site.RegularPages.ByPublishDate }}
+ {{ range first 5 .Site.RegularPages.ByPublishDate.Reverse }}
<li>
<div class="item-thumbnail">
<a href="{{ .Permalink }}" class="thumbnail">