🔵 other: changement ui premier article

This commit is contained in:
noego
2024-02-15 22:22:26 +01:00
parent 36fd3135fe
commit 3fca24ac75
4 changed files with 44 additions and 81 deletions

View File

@ -58,7 +58,7 @@
{{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }}
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }}
{{- $class = "first-entry" }}
{{- $class = "post-entry" }}
{{- else if $term }}
{{- $class = "post-entry tag-entry" }}
{{- end }}