diff --git a/_layouts/encrypt.html b/_layouts/encrypt.html index b740135..98bc401 100644 --- a/_layouts/encrypt.html +++ b/_layouts/encrypt.html @@ -49,7 +49,7 @@ function onbtnDecrypto() { document.getElementById("pwinput").style.display = "none"; } -
{{ page.tips | default: "请输入密码:" }}
+
{{ page.tips | default: "请输入密码:" }}
-

+

diff --git a/_layouts/post.html b/_layouts/post.html index a456cd6..88e4552 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -75,12 +75,12 @@ 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 page.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 %} 查看原始文件 {% endif %} -{% unless post.layout == "encrypt" %} +{% if page.layout != "encrypt" %}

推荐文章

Loading...

@@ -107,7 +107,7 @@ $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), fu }); -{% endunless %} +{% endif %}