From 8b04ec2507b7145af5e0f6e489dace2aac0a5379 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 26 Apr 2024 21:38:10 +0900 Subject: [PATCH] fix --- content/card/index.md | 4 ---- layouts/book/single.html | 4 ++-- layouts/card/single.html | 6 +++--- layouts/item/single.html | 5 +++-- layouts/partials/header.html | 2 +- static/css/style.css | 1 - 6 files changed, 9 insertions(+), 13 deletions(-) diff --git a/content/card/index.md b/content/card/index.md index fa9b4027..01538da2 100644 --- a/content/card/index.md +++ b/content/card/index.md @@ -7,15 +7,11 @@ resources: date: "2024-01-03" --- -
- [ai/bot](https://git.syui.ai/ai/bot/wiki/help) からカードを引くことができます。
-
- diff --git a/layouts/book/single.html b/layouts/book/single.html index 1339639f..a9bec013 100644 --- a/layouts/book/single.html +++ b/layouts/book/single.html @@ -1,8 +1,8 @@ -{{ partial "head.html" . }} - +{{ partial "head-blog.html" . }} {{ partial "navbar.html" . }} {{ partial "header.html" . }}
+

{{ .Title }}

{{ with .Resources.Match "book_*.png" }} {{ range $index, $val := . }}

diff --git a/layouts/card/single.html b/layouts/card/single.html index 4bfce6b9..e9dc6148 100644 --- a/layouts/card/single.html +++ b/layouts/card/single.html @@ -1,11 +1,11 @@ -{{ partial "head.html" . }} +{{ partial "head-blog.html" . }} {{ partial "navbar.html" . }} {{ partial "header.html" . }} -{{ .Content }} -
+

{{ .Title }}

+ {{ .Content }} {{ with .Resources.Match "*.webp" }}

diff --git a/layouts/item/single.html b/layouts/item/single.html index ef501bb8..edea0559 100644 --- a/layouts/item/single.html +++ b/layouts/item/single.html @@ -1,10 +1,11 @@ -{{ partial "head.html" . }} +{{ partial "head-blog.html" . }} {{ partial "navbar.html" . }} {{ partial "header.html" . }} -{{ .Content }}

+

{{ .Title }}

+ {{ .Content }} {{ with .Resources.Match "*.jpg" }}

diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 37a1503a..4485e232 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -26,7 +26,7 @@ - +
ctrl + enterctrl + enter
diff --git a/static/css/style.css b/static/css/style.css index f374ff8d..122b66d2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -356,7 +356,6 @@ iframe.manga { } header#header { - background-color: #313131; position: relative; }