{% load wagtailcore_tags %}
{% load static %}

<!DOCTYPE html>
<html>
    <head>
        <title>{{ object.name }}</title>
        
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
        <!-- bootstrap css -->
        <link rel = "stylesheet" href = "{% static "themes/theme1/bootstrap-5.0.2-dist/css/bootstrap.min.css" %}">
        <!-- custom css -->
        <link rel = "stylesheet" href = "{% static "themes/theme1/css/main.css" %}">
        <link rel = "stylesheet" href = "{% static "website/css/custom.css" %}">
    </head>
    <body>
        {{% for block in object.body %}

        {% if block.block_type == "carousel" %}

            {% include_block block %}

        {% elif block.block_type == "page_card_list" %}

            {% include_block block %}

        {% elif block.block_type == "one_paragraph" %}

            {% include_block block %}
            
        {% else %}

            {% include_block block %}

        {% endif %}

        {% endfor %}}
    </body>
</html>

