leuisken.github.io/index.html
2015-03-11 11:53:43 +08:00

49 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
layout: default
title: "首页Home"
---
<h1 class="page-header">
<small>
{{ site.description }}
</small>
</h1>
<!-- Loop output paged posts -->
{% for post in paginator.posts %}
<h2>
<a href="{{ post.url }}">
{{ post.title }}
</a>
<div class="post-date">
<span class="glyphicon glyphicon-time"></span>
{{ post.date | date_to_string }}
</div>
</h2>
<hr>
{{ post.excerpt }}
<p> <a href="{{ post.url }}"><span >阅读全文 &raquo; </span></a></p>
<hr>
{% endfor %}
<!-- Pager indicator -->
<ul class="pager">
{% if paginator.previous_page %} {% if paginator.previous_page == 1 %}
<li class="previous">
<a href="{{ site.url }}/">
&larr; Older
</a>
</li>
{% else %}
<li class="previous">
<a href="{{ site.url }}/page{{ paginator.previous_page }}">
&larr; Older
</a>
</li>
{% endif %} {% endif %} {% if paginator.next_page %}
<li class="next">
<a href="{{ site.url }}/page{{ paginator.next_page }}">
Newer &rarr;
</a>
</li>
{% endif %}
</ul>