From e7bc272a812ae518c76d0c3d76e4065f15b61ef2 Mon Sep 17 00:00:00 2001 From: mayx Date: Mon, 31 Mar 2025 03:17:33 +0000 Subject: Update 3 files - /_layouts/post.html - /proxylist.md - /index.html--- _layouts/post.html | 2 +- index.html | 17 ++++++++++++----- proxylist.md | 1 + 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index c86b6ef..f2b57a1 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -78,7 +78,7 @@ layout: default {{content}} {% if page.tags %} -tags: {{ page.tags | join: " - " }} +tags: {% for tag in page.tags %}{{ tag }}{% unless forloop.last %} - {% endunless %}{% endfor %} {% endif %}

diff --git a/index.html b/index.html index d9adde4..7386022 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ layout: default title: 首页 - 我的文章 --- -

首页 - 我的文章

Archives | Random

+

首页 - 我的文章

Archives | Random


@@ -19,6 +19,13 @@ title: 首页 - 我的文章
{{ post.excerpt | strip_html | strip_newlines }}
+ {% if post.tags %} + + {% for tag in post.tags %} + #{{ tag }} + {% endfor %} + + {% endif %} {% endfor %} @@ -26,15 +33,15 @@ title: 首页 - 我的文章