-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathposts.html
24 lines (22 loc) · 914 Bytes
/
posts.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
layout: default
title: All posts
permalink: /posts/
---
<div class="home">
<span class="subjectheader">All posts</span>
<ul class="post-list">
{% for post in site.posts %}
<div class="post-container" data-id="{{ post.comments_identifier }}">
<span class="vsparam">[</span><span class="vsnumber">{{ post.date | date: "%d" }}</span>.<span class="vsnumber">{{ post.date | date: "%m" }}</span>.<span class="vsnumber">{{ post.date | date: "%Y" }}</span><span class="vsparam">]</span>
{% if post.small_title %}
<a class="vsenum" href="{{ post.url | prepend: site.baseurl }}">{{ post.small_title }}</a>
{% else %}
<a class="vsenum" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
{% endif %}
<br/>
</div>
{% endfor %}
</ul>
Total posts: <span class="vsnumber">{{ site.posts | size }}</span> <br/>
</div>