Skip to content

Commit

Permalink
use another respiratory to host the archive
Browse files Browse the repository at this point in the history
  • Loading branch information
KirisameSoup committed Nov 11, 2023
1 parent 814daef commit f22891f
Show file tree
Hide file tree
Showing 80 changed files with 98 additions and 5,577 deletions.
249 changes: 0 additions & 249 deletions _layouts/archive/surf/default.html

This file was deleted.

14 changes: 0 additions & 14 deletions _layouts/archive/surf/misc.html

This file was deleted.

2 changes: 2 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@
<div class="window">
<main class="content">
{%- capture opt -%} <img onerror="this.onerror=null; this.src = ghprxy_s + getAttribute('src')" loading="lazy" {% endcapture %}
{%- capture pageurl -%} <a pageurl="{{page.url}}" {% endcapture %}
{%- assign content_baked = content
| replace: '<img ', opt
| replace: '<a href="http', '<a target="_blank" rel="noopener noreferrer" href="http'
| replace: '<a', pageurl
-%}
{{ content_baked }}
</main>
Expand Down
12 changes: 6 additions & 6 deletions _site/archive/index.html → _site/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
</p>

<p>

<a href="/archive" >
<strong class="urHere-i"> >>&nbsp; </strong>
<a href="/archive" class="urHere">
归档页面
</a>
<!-- -->
<!-- <strong class="urHere-i"> <<< </strong> -->
</p>

</nav>
Expand All @@ -66,7 +66,7 @@
<main class="content"><h1 id="黑历史">黑历史:</h1>

<ul class="fake h2">
<li><a href="surf">幻想乡冲浪大手册</a></li>
<li><a pageurl="/archive" target="_blank" rel="noopener noreferrer" href="https://kirisoup.github.io/archive.surfbook">幻想乡冲浪大手册</a></li>
</ul>

</main>
Expand Down Expand Up @@ -106,12 +106,12 @@
<h1 id="f_黑历史">黑历史:</h1>

<ul class="fake h2">
<li><a href="surf">幻想乡冲浪大手册</a></li>
<li><a pageurl="/archive" target="_blank" rel="noopener noreferrer" href="https://kirisoup.github.io/archive.surfbook">幻想乡冲浪大手册</a></li>
</ul>

</div> <!-- really stupid way to fix duplicated id issue -->
<div class="bottomBar">
<div class="left">地址:http://localhost:4000/archive/ | 作者:Kirisame Soup ☆ </div>
<div class="left">地址:http://localhost:4000/archive | 作者:Kirisame Soup ☆ </div>
<div class="right">
词量:12
| 字符量:13
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed _site/archive/surf/assets/backgrounds/IMG_1148.JPG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion _site/archive/surf/assets/css/style.css

This file was deleted.

1 change: 0 additions & 1 deletion _site/archive/surf/assets/css/style.css.map

This file was deleted.

7 changes: 0 additions & 7 deletions _site/archive/surf/assets/flag/gb.svg

This file was deleted.

11 changes: 0 additions & 11 deletions _site/archive/surf/assets/flag/jp.svg

This file was deleted.

Binary file not shown.
Loading

0 comments on commit f22891f

Please sign in to comment.