From da6190b9f7db7e76b54b6471b7512216da215737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=84=E5=8B=99=E5=8E=9F=20=E3=81=AA=E3=81=A7=E3=81=97?= =?UTF-8?q?=E3=81=93?= Date: Thu, 27 Jul 2023 02:09:25 -0700 Subject: [PATCH] Use relative_url on everything --- 404.html | 2 +- _includes/footer.html | 14 ++++++++++++-- _includes/head.html | 24 ++++++++++++------------ _includes/legacy_notes.html | 8 ++++---- _includes/nav.html | 20 ++++++++++---------- _includes/status-pic.html | 19 ++++++++++--------- _layouts/help.html | 4 ++-- _layouts/index.html | 18 +++++++++--------- fancy-index/after.html | 2 +- static/js/index.es6 | 6 +++--- static/js/status.es6 | 2 +- status.html | 4 ++-- 12 files changed, 67 insertions(+), 56 deletions(-) diff --git a/404.html b/404.html index 58ffcf780..8715a1e9f 100644 --- a/404.html +++ b/404.html @@ -37,7 +37,7 @@ {% fa_svg fas.fa-arrow-left %} 返回上一页 - + 镜像列表 {% fa_svg fas.fa-arrow-right %} diff --git a/_includes/footer.html b/_includes/footer.html index 09327d383..c8087183b 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -34,7 +34,12 @@

Contact Us

Sponsor

{% for sponsor in site.sponsor %} - {{ site.sponsors[sponsor].short }} + {{ site.sponsors[sponsor].short }} {% endfor %}
{% assign first_sponsor = site.sponsors[site.sponsor.first] %} @@ -51,7 +56,12 @@

Sponsor

{% endif %}
- +
diff --git a/_includes/head.html b/_includes/head.html index e50f4fb83..a34d2f2b9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -9,7 +9,7 @@ - + @@ -29,19 +29,19 @@ {{ page_title }} {% unless include.nostyle %} - - - - - - + + + + + + {% unless page.legacy %} - - + + {% endunless %} - - - + + + {% if page.legacy %}