Skip to content

Commit

Permalink
test site.host
Browse files Browse the repository at this point in the history
  • Loading branch information
KirisameSoup committed Nov 11, 2023
1 parent f22891f commit 5276f4c
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 15 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ description: 这里是霧雨蘑菇汤的互联网小角落,本店提供:最

author: KirisameSoup

locale: zh_CN
locale: zh_CN

# host: kirisoup.github.io # it has no real functionality other than being referenced as a string in stylesheets.
2 changes: 1 addition & 1 deletion _data/nav.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: 主页
link: /home
- name: About
- name: 关于
link: /about
- name: Markdown 实验室
link: /md-lab
Expand Down
14 changes: 9 additions & 5 deletions _site/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p>
<strong class="urHere-i"> >>&nbsp; </strong>
<a href="/about" class="urHere">
About
关于
</a>
<!-- <strong class="urHere-i"> <<< </strong> -->
</p>
Expand All @@ -63,7 +63,9 @@
<div class="nav-b"></div>
</div>
<div class="window">
<main class="content"><h1 id="about-">about :|</h1>
<main class="content"><h1 id="关于">关于:</h1>

<p>这里还空空如也,以后再回来看看吧。</p>

</main>
<div class="buttonBar">
Expand Down Expand Up @@ -99,14 +101,16 @@
<label class="fullscreenTg toggle" id="exitFull" title="退出全屏"></label>
</div>
<div class="content f">
<h1 id="f_about-">about :|</h1>
<h1 id="f_关于">关于:</h1>

<p>这里还空空如也,以后再回来看看吧。</p>

</div> <!-- really stupid way to fix duplicated id issue -->
<div class="bottomBar">
<div class="left">地址:http://localhost:4000/about | 作者:Kirisame Soup ☆ </div>
<div class="right">
词量:2
| 字符量:8
词量:20
| 字符量:21
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _site/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p>

<a href="/about" >
About
关于
</a>
<!-- -->
</p>
Expand Down
2 changes: 1 addition & 1 deletion _site/assets/css/default/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _site/assets/css/default/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _site/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p>

<a href="/about" >
About
关于
</a>
<!-- -->
</p>
Expand Down
2 changes: 1 addition & 1 deletion _site/md-lab.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p>

<a href="/about" >
About
关于
</a>
<!-- -->
</p>
Expand Down
2 changes: 1 addition & 1 deletion _site/we_fuck_gfw.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p>

<a href="/about" >
About
关于
</a>
<!-- -->
</p>
Expand Down
4 changes: 3 additions & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ layout: default
title: About
---

# about :|
# 关于:

这里还空空如也,以后再回来看看吧。
2 changes: 1 addition & 1 deletion assets/css/default/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ $hs: 1, 2, 3, 4, 5, 6; @each $i in $hs {
}

// reveal url for hyperlinks. requires moardown.scss
.content a { &::before { content: "¥目标: {{site.url}}"attr(pageurl) attr(href) attr(t) !important; } } // same domain
.content a { &::before { content: "¥目标: {{site.host}}"attr(pageurl) attr(href) attr(t) !important; } } // same domain
.content a[target="_blank"] { &::before { content: "¥目标: "attr(href) attr(t) !important; } } // cross domain

// headers padding
Expand Down

0 comments on commit 5276f4c

Please sign in to comment.