Update 3 files

- /_layouts/post.html
- /proxylist.md
- /index.html
This commit is contained in:
mayx 2025-03-31 03:17:33 +00:00
parent 7785bc18c7
commit e7bc272a81
3 changed files with 14 additions and 6 deletions

View File

@ -78,7 +78,7 @@ layout: default
{{content}} {{content}}
{% if page.tags %} {% if page.tags %}
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small> <small>tags: {% for tag in page.tags %}<a href="/search.html?keyword={{ tag | url_encode }}"><em>{{ tag }}</em></a>{% unless forloop.last %} - {% endunless %}{% endfor %}</small>
{% endif %} {% endif %}
<br /> <br />
<br /> <br />

View File

@ -3,7 +3,7 @@ layout: default
title: 首页 - 我的文章 title: 首页 - 我的文章
--- ---
<h1 style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){window.location.href = data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br /> <h1 style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
<hr /> <hr />
@ -19,6 +19,13 @@ title: 首页 - 我的文章
<div class="content"> <div class="content">
{{ post.excerpt | strip_html | strip_newlines }} {{ post.excerpt | strip_html | strip_newlines }}
</div> </div>
{% if post.tags %}
<span>
{% for tag in post.tags %}
<a href="/search.html?keyword={{ tag | url_encode }}"><code class="highligher-rouge"><nobr>#{{ tag }}</nobr></code></a>
{% endfor %}
</span>
{% endif %}
</td></tr> </td></tr>
{% endfor %} {% endfor %}
</table> </table>
@ -26,15 +33,15 @@ title: 首页 - 我的文章
<div class="pagination"> <div class="pagination">
{% if paginator.previous_page %} {% if paginator.previous_page %}
{% if paginator.previous_page == 1 %} {% if paginator.previous_page == 1 %}
<a href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a> <a href="/index.html">&laquo; Prev</a>
{% else %} {% else %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}/">&laquo; Prev</a> <a href="{{ paginator.previous_page_path }}/">&laquo; Prev</a>
{% endif %} {% endif %}
{% else %} {% else %}
<span>&laquo; Prev</span> <span>&laquo; Prev</span>
{% endif %} {% endif %}
<select onchange="window.location = this.value == 1 ? '{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}' : '{{ '/page' | prepend: site.baseurl | replace: '//', '/' }}' + this.value + '/'"> <select onchange="window.location = this.value == 1 ? '/index.html' : '/page' + this.value + '/'">
{% for page in (1..paginator.total_pages) %} {% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %} {% if page == paginator.page %}
<option value="{{ page }}" selected>{{ page }}</option> <option value="{{ page }}" selected>{{ page }}</option>
@ -45,7 +52,7 @@ title: 首页 - 我的文章
</select> </select>
{% if paginator.next_page %} {% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}/">Next &raquo;</a> <a href="{{ paginator.next_page_path }}/">Next &raquo;</a>
{% else %} {% else %}
<span>Next &raquo;</span> <span>Next &raquo;</span>
{% endif %} {% endif %}

View File

@ -25,6 +25,7 @@ title: 代理列表
- <https://mayx.netlify.app/> <img src="https://mayx.netlify.app/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/> - <https://mayx.netlify.app/> <img src="https://mayx.netlify.app/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>
- <https://mayx.4everland.app/> <img src="https://mayx.4everland.app/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/> - <https://mayx.4everland.app/> <img src="https://mayx.4everland.app/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>
- <https://mayx.dappling.network/> <img src="https://mayx.dappling.network/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/> - <https://mayx.dappling.network/> <img src="https://mayx.dappling.network/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>
- <https://mayx-blog.statichost.eu/> <img src="https://mayx-blog.statichost.eu/images/online.svg" style="width:22px;vertical-align: bottom" onerror="this.src = '/images/offline.svg'"/>
# 其他平台博客(备用) # 其他平台博客(备用)
- <https://unmayx.blogspot.com/> - <https://unmayx.blogspot.com/>