From fe5faeac16e6795c110044da6538328aa0e74af1 Mon Sep 17 00:00:00 2001 From: mayx Date: Fri, 16 May 2025 13:10:01 +0000 Subject: Update 4 files - /search.html - /assets/css/style.scss - /assets/js/main_new.js - /_layouts/post.html--- _layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index 1febea8..d3b1982 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 %}
{% include anchor_headings.html html=content beforeHeading=true anchorBody="" %}
{% 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