Skip to content
Snippets Groups Projects
media-in-list.html 786 B
Newer Older
Lukas Ruge's avatar
Lukas Ruge committed
<li class="item  item--post">
	<article class="article  article--post">
		{% if video.image -%}
        	{% if video.image  contains '://' -%}
        		<img src="{{video.image}}" alt="" width=50% height=50% style="float: left; margin: 0 15px 0 0;"/>
        	{% else -%}
        		<img src="{{site.baseurl}}/images/thumbnails/{{video.image}}" alt="" width=50% height=50% style="float: right; margin: 0 0 0 15px;"/>
            {% endif -%}
		{% endif -%}  	
		<h2><a href="{{ site.baseurl }}{{ video.url }}">{{ title | markdownify | remove: '<p>' | remove: '</p>'  | strip_newlines }}</a></h2>
		{{ video.excerpt | strip_html | markdownify | truncatewords: 60 }}
	</article>	
	<div style="border-bottom: 1px dotted #000; height:1px; margin:0 auto; margin-bottom: 20px;">
	</div>
</li>