-
Lukas Ruge authoredLukas Ruge authored
site-header.html 1.25 KiB
{% if page.collectionpage %}
{% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
{% assign nofeature = collectiondata.nofeature %}
{% elsif page.collection and page.collection != '' -%}
{% assign collectiondata = site.collections | where: "label", page.collection | first %}
{% assign nofeature = collectiondata.nofeature %}
{% else %}
{% assign nofeature = page.nofeature %}
{% endif %}
<header class="header">
<div class="container">
{% if site.logo %}{% include site-logo.html %}{% endif %}
{% include nav-header.html %}
</div>
{% include site-feature.html %}
{% if nofeature %}
{% else %}
{% if page.aside == true %}
<div class="presence_mobile" id="presence_mobile" style="width: 80%; margin:0 auto; margin-bottom: 30px; background-color: transparent;">
</div>
<div class="statusmobile" style="width: 80%; margin:0 auto; margin-top: -45px; background-color: #FAFAFA;">
{% include space-status-mobile.html %}
</div>
{% endif %}
{% endif %}
{% if page.layout == "video" -%}
{%- assign realslug = page.url | split:'/' | last -%}
{% capture feature_image %}https://video.chaotikum.net/thumbnails/{{realslug}}_play.png{% endcapture -%}
{% endif -%}
</header>