summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-05-17 06:51:25 +0200
committermayx <mayx@outlook.com>2025-05-17 06:51:25 +0200
commit368f1eb0d716c544d1a9d230535a5701f4cbe7e2 (patch)
tree64464c168a7301ac040948efe3fc596408a2105a /_layouts/post.html
parent98e38a212eef9592bad7ecb21e871bcb63f67ad3 (diff)
Update 3 files
- /assets/css/style.scss - /_layouts/post.html - /_layouts/encrypt.html
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 4ad595f..a456cd6 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -80,6 +80,7 @@ layout: default
{% if page.tags %}
<small style="display: block">tags: {% for tag in page.tags %}<a href="/search.html?keyword={{ tag | url_encode }}"><em>{{ tag }}</em></a>{% unless forloop.last %} - {% endunless %}{% endfor %} <span style="float: right;"><a href="{% if site.github %}{{ site.github.repository_url }}{% else %}https://gitlab.com/mayx/mayx.gitlab.io{% endif %}/tree/master/{{ page.path }}">查看原始文件</a></span></small>
{% endif %}
+{% unless post.layout == "encrypt" %}
<!--[if !IE]> -->
<h4 style="border-bottom: 1px solid #e5e5e5;margin: 2em 0 5px;">推荐文章</h4>
<p id="suggest-container">Loading...</p>
@@ -106,6 +107,7 @@ $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), fu
});
</script>
<!-- <![endif]-->
+{% endunless %}
<div class="pagination">
{% if page.previous.url %}
<span class="prev">