summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorverdant <i@glowisle.me>2026-03-14 00:21:15 +0800
committerverdant <i@glowisle.me>2026-03-14 00:22:57 +0800
commit10f0a08e722e2dece7be7e736a18093de23dbfd0 (patch)
tree4d272cb4d8b6d8be5563fdaa4de9df6681ce3bb5
parentd369dacf5bad0079d75cf65e1dcfe01b4a313364 (diff)
downloadblog-10f0a08e722e2dece7be7e736a18093de23dbfd0.tar.gz
blog-10f0a08e722e2dece7be7e736a18093de23dbfd0.zip
chore: backup before refactoring CSS style
-rw-r--r--layouts/_default/baseof.html8
-rw-r--r--layouts/partials/custom_head.html2
-rw-r--r--layouts/shortcodes/recent-posts.html6
3 files changed, 12 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 72b2954..21454e4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,8 +12,12 @@
{{ with .OutputFormats.Get "rss" -}} {{ printf `
<link rel="%s" type="%s" href="%s" title="%s" />
- ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{-
- partial "style.html" . -}}
+ ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
+ {{- partial "style.html" . -}}
+
+ <!-- {{- partial "style-min.html" . -}} -->
+
+
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html
index 051d3d9..5d5c1ed 100644
--- a/layouts/partials/custom_head.html
+++ b/layouts/partials/custom_head.html
@@ -1,12 +1,10 @@
<meta name="msvalidate.01" content="2E1AACF009206F2DDBAAD4B98E881460" />
-<meta name="fediverse:creator" content="@Verdant@c7.io" />
<link
rel="prefetch"
as="image"
href="https://www.blogsclub.org/badge/www.glowisle.me"
/>
<link href="https://github.com/yingyu5658" rel="me" />
-<link href="https://c7.io/@Verdant" rel="me" />
<link
rel="webmention"
href="https://webmention.io/www.glowisle.me/webmention"
diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html
index b2a6637..ea6ed2b 100644
--- a/layouts/shortcodes/recent-posts.html
+++ b/layouts/shortcodes/recent-posts.html
@@ -8,6 +8,12 @@ word-wrap: break-word;
}
</style>
+
+<!-- <div class="recent-posts"> -->
+<!-- {{ range $index, $page := $recent }} -->
+<!-- {{ end }} -->
+<!-- </div> -->
+
<div class="recent-posts">
{{ if $recent }} {{ range $index, $page := $recent }}
<div class="recent-posts-item">