{% extends "djangocms_alias/base.html" %}
{% load i18n cms_tags static %}

{% if site_styles %}
    {% block extrastyle %}
        {{ block.super }}
        {% for path in site_styles %}
            <link rel="stylesheet" href="{% static path %}">
        {% endfor %}
    {% endblock %}
    {% block base_css %}
        {{ block.super }}
        {% for path in site_styles %}
            <link rel="stylesheet" href="{% static path %}">
        {% endfor %}
    {% endblock %}
{% endif %}

{% block aliases_content %}
    <div class="cms-aliases-page container alias-{{ alias_content.name|slugify }}">
        <h2 class="cms-aliases-page-heading" id="{{ alias_content.name|slugify }}">
            <span class="cms-aliases-page-heading-inner">Alias: {{ alias_content.name }}</span>
        </h2>
        <div class="cms-aliases-detail">
          {% render_placeholder alias_content.placeholder %}
        </div>
    </div>
{% endblock aliases_content %}
