summaryrefslogtreecommitdiff
path: root/_layouts/home.html
blob: 4a247655040bd521bc1e08be36942e11f4172557 (plain)
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
---

{%- 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 -%}