aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/mypaper/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/mypaper/layouts')
-rw-r--r--themes/mypaper/layouts/_default/list.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/themes/mypaper/layouts/_default/list.html b/themes/mypaper/layouts/_default/list.html
index f632c09..7cf7cd0 100644
--- a/themes/mypaper/layouts/_default/list.html
+++ b/themes/mypaper/layouts/_default/list.html
@@ -10,9 +10,7 @@
{{- range $index, $page := $paginator.Pages }}
{{- $class := "post-entry" }}
-{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }}
-{{- $class = "first-entry" }}
-{{- else if .Data.Term }}
+{{- if .Data.Term }}
{{- $class = "post-entry tag-entry" }}
{{- end }}
<article class="{{ $class }}">