diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-05-19 19:28:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 19:28:28 +0300 |
commit | 756792be83fa66e6d112097461d4c29571933398 (patch) | |
tree | 761f8febafcfada653f39d340b45ffffbf05513e | |
parent | b540c8b43cf11c5d254551be375c0ef344e3e474 (diff) |
Use default sort for the home page theme list
I've noticed themes (or I have seen 1 theme) setting up GitHub Action script to update the theme's readme, effectively pushing it to the top.
We need to somehow improve this and set `weight` based on some other criteria.
-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 9fe7dad..098edf4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,4 @@ {{ define "main" }} - {{ $section_to_display := .Site.RegularPages.ByLastmod.Reverse }} + {{ $section_to_display := .Site.RegularPages }} {{ partial "pagelayout.html" (dict "context" . "section_to_display" $section_to_display) }} {{ end }} |