Theme: Reverse article order on start page
All checks were successful
/ build (pull_request) Successful in 41s
All checks were successful
/ build (pull_request) Successful in 41s
articles are in the past, so sorting them in descending order will result in the most recent being the first item.
This commit is contained in:
parent
9b25368cd3
commit
2c642a0a30
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
{{- end }}
|
||||
|
||||
{{- range $articleNew.ByDate }}
|
||||
{{- range $articleNew.ByDate.Reverse }}
|
||||
<div class="announcement">
|
||||
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue