Theme: Reverse article order on start page
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
c43009bbb3
commit
3df895f734
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