---
layout: default
---

{% if page.thumbnail != null and page.image != null %}
<a data-lightbox="{{ page.image | escape_once }}" class="thumb pull-right" href="{{ page.image | escape_once }}"><img src="{{ page.thumbnail | escape_once }}"></a>
{% elsif page.thumbnail != null %}
<a data-lightbox="{{ page.image | escape_once }}" class="thumb pull-right" href="{{ page.thumbnail | escape_once }}"><img src="{{ page.thumbnail | escape_once }}"></a>
{% elsif page.image != null  %}
<a data-lightbox="{{ page.image | escape_once }}" class="thumb pull-right" href="{{ page.image | escape_once }}"><img src="{{ page.image | escape_once }}"></a>
{% endif %}

<h2>{{ page.title }}</h2>
<p class="meta">Gepostet am {{ page.date | localize: "%-d. %B %Y" }} in: {% for category in page.categories %}<a class="cat-link" href="/categories/{{category | downcase}}/">{{ category }}</a> {% endfor %}
{% if page.source_name != null and page.source_name != '' and page.source != null and page.source != '' %}
; Quelle: <a href="{{ page.source | escape_once }}">{{ page.source_name | escape_once }}</a>
{% elsif page.source_name != null and page.source_name != '' %}
; Quelle: {{ page.source_name | escape_once }}
{% elsif page.source != null and page.source != '' %}
; Quelle: <a href="{{ page.source | escape_once }}">Link</a>
{% endif %}
</p>

<div class="post">
{{ content }}
</div>
