articles.md 550 Bytes
Newer Older
brianmaierjr's avatar
sync  
brianmaierjr committed
1 2 3 4 5 6 7
---
layout: default
title: Your New Jekyll Site
---

<div id="articles">
  <h1>Articles</h1>
brianmaierjr's avatar
brianmaierjr committed
8
  <ul class="posts noList">
brianmaierjr's avatar
sync  
brianmaierjr committed
9 10 11 12 13 14 15 16 17
    {% for post in site.posts %}
      <li>
      	<span class="date">{{ post.date | date_to_string }}</span>
      	<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
      	<p class="description">{% if post.description %}{{ post.description  | strip_html | strip_newlines | truncate: 120 }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
      </li>
    {% endfor %}
  </ul>
</div>