diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bb011b3..f43fb89 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -16,7 +16,12 @@ {{ range $index, $page := $paginator.Pages }} +{{ if and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) }} +{{ .Scratch.Set "postClass" "first-entry" }} +{{ .Scratch.Set "firstEmoji" "📌" }} +{{ else }} {{ .Scratch.Set "postClass" "post-entry" }} +{{ end }}
diff --git a/static/css/style.css b/static/css/style.css index 7e7a6dd..0b71e46 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -168,8 +168,8 @@ pre, code { /* Main ======================================================================= */ .list { - /* background: #fafafa; */ - background: #fff; + background: #fafafa; + /* background: #fff; */ } /* Main ------------------------------ */