<div class="{{ .Class }}">
    {{ if eq .Site.Language.Lang "en" }}
        <a href="/de/" class="lang-btn">
            <img src="/icons/de.svg" alt="Deutsch" class="flag-icon">
            <span>DE</span>
        </a>
    {{ else }}
        <a href="/en/" class="lang-btn">
            <img src="/icons/gb.svg" alt="English" class="flag-icon">
            <span>EN</span>
        </a>
    {{ end }}
</div> 