Browse Source

Update 3 files

- /_layouts/default.html
- /index.html
- /search.html
mayx 7 months ago
parent
commit
b818d1db8e
3 changed files with 14 additions and 20 deletions
  1. 3 3
      _layouts/default.html
  2. 10 16
      index.html
  3. 1 1
      search.html

+ 3 - 3
_layouts/default.html

@@ -68,11 +68,11 @@
 
       <p>{{ site.description | default: site.github.project_tagline }}</p>
 
-      <p>
-      <form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />
+      <form action="/search.html">
+        <input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />
         <input type="submit" />
       </form>
-      </p>
+      <br />
 
       {% if site.github.is_project_page %}
       <p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub

+ 10 - 16
index.html

@@ -24,7 +24,7 @@ title: 首页 - 我的文章
   {% 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>
+      <a href="/search.html?keyword={{ tag | url_encode }}"><nobr><code>#{{ tag }}</code></nobr></a>
     {% endfor %}
   </span>
   {% endif %}
@@ -62,22 +62,16 @@ title: 首页 - 我的文章
 </div>
 {% endif %}
 <hr />
-<input name="live2dBGM" value="https://music.163.com/song/media/outer/url?id=523658881.mp3" type="hidden">
-<p>
-<h2>其他页面</h2>
- 
- <a href="/service.html">Mayx的公开服务</a><br>
-
- 凯露&危险生存( <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?cn">CHS</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/">JA</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?kr">KO</a> )<br>
-
- <a href="/message.html">留言板</a><br>
-
- <a href="/links.html">Links</a><br>
-
- <a href="/proxylist.html">代理列表</a><br>
 
+<h2>其他页面</h2>
+<p>
+ <a href="/service.html">Mayx的公开服务</a><br />
+ 凯露&危险生存( <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?cn">CHS</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/">JA</a> | <a href="{% unless site.github %}https://mabbs.github.io{% endunless %}/karyl-yabaival/?kr">KO</a> )<br />
+ <a href="/message.html">留言板</a><br />
+ <a href="/links.html">Links</a><br />
+ <a href="/proxylist.html">代理列表</a><br />
  <!-- <a href="https://mabbs.github.io/MayxDaily/">Mayx日报</a><br> -->
-
-<br>
 </p>
+<br />
 <small><a href="https://icp.gov.moe/?keyword=20218888" target="_blank">萌ICP备 20218888号</a></small>
+<input name="live2dBGM" value="https://music.163.com/song/media/outer/url?id=523658881.mp3" type="hidden" />

+ 1 - 1
search.html

@@ -8,7 +8,7 @@ title: 搜索
   <p>很遗憾,IE搜不了捏~</p>
 <![endif]-->
 <!--[if !IE]> -->
-<p>Keyword: <input type="text" id="search-input" placeholder="Search blog posts.."> <img src="/images/loading.svg" id="search-loading" style="width:22px;vertical-align: bottom"></p>
+<p>Keyword: <input type="text" id="search-input" placeholder="Search blog posts.." /> <img src="/images/loading.svg" alt="Loading..." id="search-loading" style="width:22px;vertical-align: bottom" /></p>
 <ul id="results-container"></ul>
 <script src="/assets/js/simple-jekyll-search.min.js"></script>
 <script>