From d1791b47f335b44c0568e932ee3fa899b43e745d Mon Sep 17 00:00:00 2001
From: mayx
Date: Fri, 16 May 2025 13:18:52 +0000
Subject: [PATCH] Update 2 files
- /_layouts/post.html
- /search.html
---
_layouts/post.html | 2 +-
search.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/_layouts/post.html b/_layouts/post.html
index d3b1982..0fe96be 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -75,7 +75,7 @@ layout: default
{% include toc.html html=content sanitize=true h_max=3 %}
-{% if post.layout == "encrypt" %} {{content}} {% else %} {% capture a_post_content %}{% include anchor_headings.html html=content beforeHeading=true anchorBody="" %}{% endcapture %}{{ a_post_content | replace: '
', '
' }} {% endif %}
+{% if post.layout == "encrypt" %} {{content}} {% else %} {% capture a_post_content %}{% include anchor_headings.html html=content beforeHeading=true anchorBody="" %}{% endcapture %}{{ a_post_content | replace: '
', '
' }} {% endif %}
{% if page.tags %}
tags: {% for tag in page.tags %}{{ tag }}{% unless forloop.last %} - {% endunless %}{% endfor %} 查看原始文件
diff --git a/search.html b/search.html
index f485ede..679d9c1 100644
--- a/search.html
+++ b/search.html
@@ -6,7 +6,7 @@ title: 搜索
搜索