-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path2Behave.html
More file actions
49 lines (46 loc) · 1.62 KB
/
2Behave.html
File metadata and controls
49 lines (46 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: page
title: 行:君子欲讷于言而敏于行
slug: Behave
---
<div class="prelude">
实践方出真知。粮草短缺不是借口。竹杖芒鞋轻胜马,谁怕?一起行动起来吧。
</div>
<a id="getlist" href="/indexes/bycategories/2">载入本类文章列表</a>
<div id="indexcontainer"></div><hr/>
<div class="posts">
<div class="load">
{% for post in site.categories['行'] %} {% if post.url %}
<div class="post">
<h1 class="post-title" id="{{ post.title }}"><a href="{{ post.url }}">{{ post.title }}</a></h1>
<span class="post-date"><a href="/indexes/date#{{ post.date | date: "%Y-%m" }}">{{ post.date | date: "%Y年%m月%d日" }}</a>
  {% assign tags = post.tags %}
{% for tag in tags %}
<a href="/indexes/tags#{{ tag }}">{{ tag }}</a>
{% endfor %}   <a id="catlink">{{ post.categories }}</a>  <a href="{{ post.url }}#comments"> 添加评论 </a> </span>
<div id="catlist"></div>
{{ post.content }}
</div>
<div class="writecomments"><a href="{{ post.url }}#comments">不吐不快?添加评论吧!</a></div>
{% break %} {% endif %} {% endfor %}
</div>
<div class="load">
</div>
</div>
<a id="next">加载更多内容中,请稍候……</a>
<script>
var urls=new Array();
{% for post in site.categories['行'] %} {% if post.url %} urls[urls.length]="{{ post.url }}"; {% endif %}
{% endfor %}
var index = 1;
if(urls.length>0){
$('#next').attr('href',urls[0]);
}else{
$('#next').html('未发现更多内容');
}
fetchingContent = false;
window.onscroll = yHandler;
$(document).ready(function(){
yHandler();
});
</script>