From d1791b47f335b44c0568e932ee3fa899b43e745d Mon Sep 17 00:00:00 2001 From: mayx Date: Fri, 16 May 2025 13:18:52 +0000 Subject: Update 2 files - /_layouts/post.html - /search.html--- _layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_layouts') 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 %} 查看原始文件 -- cgit 1.4.1-2-gfad0