From b0704e26fcd55ae2402222ef705b2c201b06045a Mon Sep 17 00:00:00 2001 From: mayx Date: Thu, 3 Apr 2025 14:38:40 +0000 Subject: Update 6 files - /js/main.js - /search.html - /_layouts/default.html - /_layouts/post.html - /_includes/anchor_headings.html - /_config.yml--- _layouts/default.html | 2 +- _layouts/post.html | 37 +++++++++++-------------------------- 2 files changed, 12 insertions(+), 27 deletions(-) (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html index ded6615..a3c59c7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,5 +1,5 @@ - + diff --git a/_layouts/post.html b/_layouts/post.html index 5cb7938..fa64e24 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 %} -{{content}} +{% if post.layout == "encrypt" %} {{content}} {% else %}
{% include anchor_headings.html html=content beforeHeading=true anchorBody="" %} {% endif %} {% if page.tags %} tags: {% for tag in page.tags %}{{ tag }}{% unless forloop.last %} - {% endunless %}{% endfor %} 查看原始文件 @@ -132,31 +132,16 @@ $.get(BlogAPI + "/suggest?id=" + blogurl + "&update=" + lastUpdated.valueOf(), f
\ No newline at end of file -- cgit 1.4.1-2-gfad0