mirror of https://gitlab.com/mayx/mayx.gitlab.io
Update file index.html
parent
c454031365
commit
3edfcdb60a
11
index.html
11
index.html
|
@ -2,22 +2,21 @@
|
||||||
layout: default
|
layout: default
|
||||||
title: 首页 - 我的文章
|
title: 首页 - 我的文章
|
||||||
---
|
---
|
||||||
|
{% if paginator.page == 1 %}<div class="hslice" id="LatestPost">{% endif %}
|
||||||
<h1 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> | <a href="javascript:getSearchJSON(function(data){window.location = data[Math.floor(Math.random()*data.length)].url})">Random</a></small><br /><br />
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<!-- 遍历分页后的文章 -->
|
<!-- 遍历分页后的文章 -->
|
||||||
{% if paginator.page == 1 %}<div class="hslice">{% endif %}
|
<table class="entry-content">
|
||||||
<table>
|
|
||||||
{% for post in paginator.posts %}
|
{% for post in paginator.posts %}
|
||||||
<tr><td onclick="location='{{ post.url }}'">
|
<tr><td onclick="location='{{ post.url }}'">
|
||||||
<h2 class="entry-title"><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
|
<h2><a class="post-link" href="{{ post.url }}">{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}</a></h2>
|
||||||
<p class="author">
|
<p class="author">
|
||||||
<span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
|
<span class="date">{{ post.date | date: "%-d %B %Y" }}</span>
|
||||||
| Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
|
| Hits: <span id="{{ post.url }}" class="visitors-index" >Loading...</span>
|
||||||
</p>
|
</p>
|
||||||
<div class="content entry-content">
|
<div class="content">
|
||||||
{{ post.excerpt | strip_html | strip_newlines }}
|
{{ post.excerpt | strip_html | strip_newlines }}
|
||||||
</div>
|
</div>
|
||||||
{% if post.tags %}
|
{% if post.tags %}
|
||||||
|
|
Loading…
Reference in New Issue