Update 4 files

- /_layouts/default.html
- /_layouts/post.html
- /index.html
- /search.html
This commit is contained in:
mayx
2025-04-26 13:52:27 +00:00
parent 9669d10f5c
commit 6d145383f5
4 changed files with 19 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ layout: default
title: 首页 - 我的文章
---
{% if paginator.page == 1 %}<div class="hslice" id="LatestPost">{% endif %}
<h1 class="entry-title" 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 />
<h1 class="entry-title" style="display:inline"> 首页 - 我的文章 </h1><small><a href="/archives.html">Archives</a> <!--[if !IE]> --> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a> <!-- <![endif]--> </small><br /><br />
<hr />
@@ -14,7 +14,9 @@ title: 首页 - 我的文章
<h2><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
<p class="author">
<span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
<!--[if !IE]> -->
| Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
<!-- <![endif]-->
</p>
<div class="content">
{{ post.excerpt | strip_html | strip_newlines }}