<section class="section  typeset">
	<ul class="list  list--posts">
		{% for project in site.projects -%}
			{% assign last_update = "Unbekannt" -%}
			{% for ppost in site.posts -%}
				{% if ppost.tags contains project.tag -%}
					{% capture last_update %}{{ ppost.date | date_to_string }}{% endcapture -%}
				{% endif -%}
			{% endfor -%}
			<article class="article  article--post">
				<h2><a href="{{ site.baseurl }}{{ project.url }}">{{ project.name | markdownify | remove: '<p>' | remove: '</p>' }}</a></h2>
					{% if project.image -%}
		        		{% if project.image  contains '://' -%}
		             		<div class=projectthumbnail style="background-image: url({{project.image}}); height: 200px; width: 100%; margin-right: auto; margin-left: auto;  margin-top: 10px;">
		              		</div>
		        		{% else -%}
		              		<div class=projectthumbnail style="background-image: url({{site.baseurl}}/images/thumbnails/{{project.image}}); height: 200px; width: 100%; margin-right: auto; margin-left: auto;  margin-top: 10px;">
		              		</div>
		              	{% endif -%}
					{% endif -%}  								
				<small class="small post-meta">Letztes Update: <time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{last_update}}</time></small>
				{{ project.excerpt | strip_html | markdownify | truncatewords: 60 }}
			</article>
		{% endfor -%}
	</ul>
</section>