Skip to content
Snippets Groups Projects
post-list-article.html 976 B
<li class="item  item--post">
	<article class="article  article--post"> 	

			{% if page.feature_image and page.feature_image_alt and counter > 0 -%}
	        	{% if page.feature_image  contains '://' -%}
	        		<a href="{{ site.baseurl }}{{ page.url }}"><img class="articlefeatureimage" src="{{page.feature_image}}" alt="{{page.feature_image_alt}}"/></a>
	        	{% else -%}
	        		<a href="{{ site.baseurl }}{{ page.url }}"><img class="articlefeatureimage" src="{{site.baseurl}}/images/thumbnails/{{page.feature_image}}" alt="{{page.feature_image_alt}}"/></a>
	            {% endif -%}
			{% endif -%}  	

			{% include post-meta-top.html -%}
		
			<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title | markdownify | remove: '<p>' | remove: '</p>' }}</a></h2>

			{% include post-meta.html -%}
			
			<div class="teaser">
				{{ page.excerpt | strip_html | markdownify | truncatewords: 60 }}
			</div>

	</article>
	<div class="dotted-line">
	</div>
</li>