{# ThemeWare "Textlogo" content #}
{# ---------------- START: SET TEMPLATE VARS ---------------- #}
{# ThemeWare: Set theme variables #}
{# TODO: Use variables for theme_config #}
{# ---------------- END: SET TEMPLATE VARS ---------------- #}
{# ThemeWare: Set font family #}
{% if theme_config('twt-textlogo-font-family') == "text" %}
{% set twtTextlogoFontFamily = theme_config('sw-font-family-base') %}
{% else %}
{% set twtTextlogoFontFamily = theme_config('sw-font-family-headline') %}
{% endif %}
{# ThemeWare: Set height for auto #}
{% if theme_config('twt-header-logo-height') == "auto" %}
{% set twtTextlogoHeight = "32" %}
{% else %}
{% set twtTextlogoHeight = theme_config('twt-header-logo-height') %}
{% endif %}
{# ThemeWare: Add textlogo as SVG #}
{% block twt_textlogo %}
{# ThemeWare: Sticky scaling factor #}
{# TODO: Prüfen auf Bereitstellung im Theme-Manager #}
{% set twtTextlogoScalingFactor = "1.5" %}
{# ThemeWare: Check if header is sticky #}
{% if sticky %}
{% else %}
{% endif %}
{% endblock %}