Theme: Fix doubled "Neuigkeiten" on start page, differentiate events from articles more #159
1 changed files with 1 additions and 1 deletions
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.
commit
3df895f734
|
|
@ -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