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

github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishan B <bkishan@thoughtworks.com>2018-05-13 07:59:08 +0300
committerKishan B <bkishan@thoughtworks.com>2018-05-13 07:59:08 +0300
commit3c61df455fb4922634be17adc27c6f8dc53fa781 (patch)
tree5cd19275a64eb8288d1a451b57349a6a9373be08 /layouts
parent97d5c62caf76f6bf16446bdb8d83ef1901d38479 (diff)
Getting ready for inclusion into hugo themes dir
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/products/list/product-list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/products/list/product-list.html b/layouts/partials/products/list/product-list.html
index 42ad946..0a4c695 100644
--- a/layouts/partials/products/list/product-list.html
+++ b/layouts/partials/products/list/product-list.html
@@ -8,7 +8,7 @@
</div>
</div>
<div class="row">
- {{ range .Data.Pages }}
+ {{ range .Data.Pages.ByPublishDate }}
{{ partial "products/list/product-list-item.html" . }}
{{ end }}
</div>