39 lines
1015 B
HTML
39 lines
1015 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
{% assign has_post = false %}
|
|
{% for post in site.posts %}
|
|
{% if post.private == true %}
|
|
{% continue %}
|
|
{% endif %}
|
|
<div class="post-card">
|
|
<a class="title" href="{{site.baseurl}}{{ post.url }}">
|
|
{{ post.title }}
|
|
</a>
|
|
|
|
<div class="details">
|
|
<b>{{ post.date | date: "%d %B %Y" }}</b>
|
|
<br>
|
|
{% if post.tags %}
|
|
<b>[</b>
|
|
{% for tag in post.tags %}
|
|
<a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }}</a>{% if forloop.last == false %},{% endif %}
|
|
{% endfor %}
|
|
<b>]</b>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="subtitle">
|
|
{{ post.subtitle }}
|
|
</div>
|
|
</div>
|
|
{% if forloop.last == false %}
|
|
<hr>
|
|
{% endif %}
|
|
{% assign has_post = true %}
|
|
{% endfor %}
|
|
{% if has_post == false %}
|
|
<div class="no-post">I've lost the ink pot. Check back later...</div>
|
|
{% endif %}
|