summaryrefslogtreecommitdiff
path: root/src/index.md
blob: 30727d6085646d05bea6220ddd33be490934f89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
---

{%- if site.posts.size > 0 -%}
<ul id="posts-list">
  {%- for post in site.posts -%}
  {%- if post.hide -%}{%- continue -%}{%- endif -%}
  <li>
    <h2>
      <a href="{{ post.url | relative_url }}">
        {{ post.title | escape }}
      </a>
    </h2>
    <span>{{ post.date | date: site.date_format }}</span>
    {%- if post.updated %}
    <span>(Updated {{ post.updated | date: site.date_format }})</span>
    {% endif -%}
    <p>{{ post.description }}</p>
  </li>
  {%- endfor -%}
</ul>
{%- endif -%}