summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx2025-08-07 14:01:09 +0000
committermayx2025-08-07 14:01:09 +0000
commit73415fe7ec8a69b61130666d65d4b2fe11cf03cc (patch)
tree2c6711361962181a3df5b8a14f27536a84209285
parentada0170bc0db4dd5b576ffcfdaaeb63e36454e1b (diff)
Update 3 filesHEADmaster
- /_data/proxylist.yml - /index.html - /_layouts/post.html
-rw-r--r--_data/proxylist.yml4
-rw-r--r--_layouts/post.html2
-rw-r--r--index.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/_data/proxylist.yml b/_data/proxylist.yml
index bd839f6..18bbf85 100644
--- a/_data/proxylist.yml
+++ b/_data/proxylist.yml
@@ -16,7 +16,6 @@ mirrors:
- https://mayx.vercel.app/
- https://mayx.netlify.app/
- https://mabbs.kinsta.page/
-- https://mayx.local-kde.org/
- https://mayx.codeberg.page/
- https://mayx.4everland.app/
- https://unmayx.bitbucket.io/
@@ -28,12 +27,13 @@ gits:
- https://gitlab.com/mayx/mayx.gitlab.io
- https://framagit.org/mayx/mayx.frama.io
- https://salsa.debian.org/mayx/mayx.pages.debian.net
-- https://invent.kde.org/mayx/mayx.local-kde.org
- https://codeberg.org/mayx/blog
- https://git.gay/mayx/mayx
- https://gitea.com/mayx/mayx
+- https://gitea.moe/Mayx/mayx
- https://gitgud.io/mayx/mayx
- https://git.sr.ht/~mayx/mayx
+- https://tvoygit.ru/Mayx/mayx
- https://git.envs.net/Mayx/mayx
- https://tildegit.org/Mayx/mayx
- https://git.launchpad.net/mayx
diff --git a/_layouts/post.html b/_layouts/post.html
index 4769a36..1de008b 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -81,7 +81,7 @@ layout: default
{% if page.layout == "encrypt" %} {{content}} {% else %} <main class="post-content e-content" role="main">{% capture a_post_content %}{% include anchor_headings.html html=content beforeHeading=true anchorBody="<svg class='octicon' viewBox='0 0 16 16' version='1.1' width='16' height='32' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>" %}{% endcapture %}{{ a_post_content | replace: '<br />', '</p><p>' }}</main> {% endif %}
{% if page.tags %}
-<small style="display: block">tags: {% for tag in page.tags %}<a rel="category tag" class="p-category" 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>
+<small style="display: block">tags: {% for tag in page.tags %}<a rel="category tag" class="p-category" href="/search.html?keyword={{ tag | url_encode | replace: '+', '%20' }}"><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 %}
{% if page.layout != "encrypt" %}
<h4 style="border-bottom: 1px solid #e5e5e5;margin: 2em 0 5px;">推荐文章</h4>
diff --git a/index.html b/index.html
index 132ccd3..ff8950f 100644
--- a/index.html
+++ b/index.html
@@ -24,7 +24,7 @@ image: https://screenshot.mayx.eu.org/
{% if post.tags %}
<span>
{% for tag in post.tags %}
- <a rel="category tag" class="p-category" href="/search.html?keyword={{ tag | url_encode }}"><code style="white-space: nowrap">#{{ tag }}</code></a>
+ <a rel="category tag" class="p-category" href="/search.html?keyword={{ tag | url_encode | replace: '+', '%20' }}"><code style="white-space: nowrap">#{{ tag }}</code></a>
{% endfor %}
</span>
{% endif %}