From c1783bfa5bcd9d9fddac368868e2279f52dcd24f Mon Sep 17 00:00:00 2001 From: Timo Montalto Date: Fri, 17 Apr 2026 10:36:51 +0200 Subject: [PATCH] Show note field on manga page with matching site style Co-Authored-By: Claude Sonnet 4.6 --- assets/css/custom.css | 9 +++++++++ layouts/_default/manga.html | 3 +++ 2 files changed, 12 insertions(+) diff --git a/assets/css/custom.css b/assets/css/custom.css index c980f4d..15c38b0 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -167,6 +167,15 @@ li.post { stroke: var(--maincolor); } +.manga-card-note { + border-left: 3px solid var(--maincolor); + color: #777; + font-size: 0.88rem; + font-style: italic; + margin: 0.5rem 0 0; + padding: 0.15rem 0.55rem; +} + @media screen and (min-width: 820px) { .manga-hero { grid-template-columns: minmax(0, 1fr) auto; diff --git a/layouts/_default/manga.html b/layouts/_default/manga.html index ce05a63..82a87c0 100644 --- a/layouts/_default/manga.html +++ b/layouts/_default/manga.html @@ -107,6 +107,9 @@ {{ end }} + {{ with .note }} +

{{ . }}

+ {{ end }} {{ end }}