aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/mypaper/layouts/_default
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-04-24 22:17:39 +0900
committernsfisis <nsfisis@gmail.com>2022-04-24 22:17:39 +0900
commit5b55bdeeac3c6cf112f9b1f4a34748f87cc1a850 (patch)
tree2ef608b387ef84ec6dc4e45ae8e3b0a7c86b1f9e /themes/mypaper/layouts/_default
parentbea3b8b1785390077c041d7a8d77a079650d42a8 (diff)
downloadnsfisis.github.io-5b55bdeeac3c6cf112f9b1f4a34748f87cc1a850.tar.gz
nsfisis.github.io-5b55bdeeac3c6cf112f9b1f4a34748f87cc1a850.tar.zst
nsfisis.github.io-5b55bdeeac3c6cf112f9b1f4a34748f87cc1a850.zip
style: remove style "first-entry"
Diffstat (limited to 'themes/mypaper/layouts/_default')
-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 }}">