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
f4faa32fc3
commit
3b5e0bec9a
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- range $articleNew.ByDate }}
|
{{- range $articleNew.ByDate.Reverse }}
|
||||||
<div class="announcement">
|
<div class="announcement">
|
||||||
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }}
|
{{- partial "blog-header.html" (dict "headingLink" true "level" 4 "reduced" true "page" . ) }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue