{% extends "oscar/catalogue/browse.html" %}

{% block title %}{% spaceless %}
    {% with settings.ocyan_plugin_wagtail.OcyanSettings.seo_title as seo_title %}
        {% if seo_title %}
            {{ seo_title }}
        {% else %}
            {{ block.super }}
        {% endif %}
    {% endwith %}
{% endspaceless %}{% endblock %}

{% block description %}{% spaceless %} 
    {% with settings.ocyan_plugin_wagtail.OcyanSettings.seo_description as seo_description %}
        {% if seo_description %}
            {{ seo_description }}
        {% else %}
            {{ block.super }}
        {% endif %}
    {% endwith %}
{% endspaceless %}{% endblock %}
