mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
---
|
|
layout: default
|
|
title: arcanis' blog
|
|
comment: false
|
|
share: false
|
|
back: 1
|
|
---
|
|
<body>
|
|
<div class="wrapper">
|
|
<header>
|
|
<h1>arcanis' blog</h1>
|
|
</header>
|
|
<section>
|
|
|
|
{% for post in site.posts %}
|
|
<h1><a name="{{ post.title }}" class="anchor" href="#{{ post.title }}"><span class="octicon octicon-link"></span></a><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
|
<p align="justify"><i>{{ post.date | date_to_string}}</i></p>
|
|
<p align="justify">{{ post.description }}</p>
|
|
<p align="justify"><b>Tags</b>: {{ post.tags }}</p>
|
|
{% endfor %}
|
|
|
|
{% if paginator.total_pages > 1 %}
|
|
<nav><ol>
|
|
{% if paginator.previous_page > 1 %}
|
|
{% capture page_url %}page{{ page }}{% endcapture%}
|
|
{% endif %}
|
|
{% if paginator.previous_page %}
|
|
<li><a href="/{{ page_url }}" title="Go to previous page">«</a></li>
|
|
{% endif %}
|
|
<li>
|
|
{% for page in (1..paginator.total_pages) %}
|
|
<li>
|
|
{% if page > 1 %}
|
|
{% capture page_url %}page{{ page }}{% endcapture%}
|
|
{% endif %}
|
|
{% if page == paginator.page %}
|
|
{{ page }}
|
|
{% else %}
|
|
<a href="/{{ page_url }}">{{ page }}</a>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
{% if paginator.next_page %}
|
|
<li>
|
|
<a href="/page{{ paginator.next_page }}" title="Go to next page">»</a>
|
|
</li>
|
|
{% endif %}
|
|
</ol></nav>
|
|
{% endif %}
|
|
|
|
<script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-US.js"></script>
|