From a220a15d80ac9528b29a028f29f079aae1beeee7 Mon Sep 17 00:00:00 2001 From: verdant Date: Mon, 23 Feb 2026 15:31:26 +0800 Subject: style: modify the style of post title - h3 -> h2 - change all to 1.25em --- layouts/_default/single.html | 4 ++-- layouts/partials/style.html | 2 +- layouts/shortcodes/recent-posts.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2a30a14..6b3f0a4 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,9 +2,9 @@
{{- partial "header.html" . -}}
-

+

{{ .Title }} -

+
{{ .Content }}
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 1d56e37..f56ed7b 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -57,7 +57,7 @@ flex: 1; overflow: hidden; text-overflow: ellipsis; - font-size: 1.6em; + font-size: 1.25em; word-wrap: break-word; white-space: normal; word-wrap: break-word; diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html index b1e891e..b2a6637 100644 --- a/layouts/shortcodes/recent-posts.html +++ b/layouts/shortcodes/recent-posts.html @@ -11,9 +11,9 @@ word-wrap: break-word;
{{ if $recent }} {{ range $index, $page := $recent }}
-

+

{{ .Title }} -

+
{{ .Summary }}
{{ partial "post_meta.html" . }} -- cgit v1.2.3