19 lines
No EOL
663 B
HTML
19 lines
No EOL
663 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
{% include absolute-url.liquid %}
|
|
|
|
<div id="index">
|
|
<h3><a href="{{ absurl }}/posts/">Recent Posts</a></h3>
|
|
{% for post in site.posts limit:5 %}
|
|
<article>
|
|
{% if post.link %}
|
|
<h2 class="link-post"><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></a></h2>
|
|
{% else %}
|
|
<h2><a href="{{ absurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
|
|
<p>{{ post.excerpt | strip_html | truncate: 160 }}</p>
|
|
{% endif %}
|
|
</article>
|
|
{% endfor %}
|
|
</div><!-- /#index --> |