summaryrefslogtreecommitdiff
path: root/_layouts/home.html
blob: a4802ec57c316f29051d9d493d7d3701c15cb727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
layout: default
---

{%- if site.posts.size > 0 -%}
<ul id="posts-list">
  {%- for post in site.posts -%}
  <li>
    <h2>
      <a href="{{ post.url | relative_url }}">
        {{ post.title | escape }}
      </a>
    </h2>
    <span>{{ post.date | date: "%b %-d, %Y" }}</span>
    <p>{{ post.description }}</p>
  </li>
  {%- endfor -%}
</ul>

{%- endif -%}