May 07, 2015
Simple post feed.
<ul id="news_feed"> <h2>News</h2> {% for article in blogs.news.articles limit: 2 %} <li> <div class="article_thumb"> {{article.excerpt}} </div> <div class="article_content"> <span>{{ article.created_at | date: "%M.%d.%Y" }}</span> <h3><a href="{{ article.url }}">{{ article.title }}</a></h3> <p>{{article.content | strip_html | truncatewords: 25}}</p> <a href="{{ article.url }}">read more</a> </div> </li> {% endfor %} </ul>