aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/base.html
blob: dfe7139da4a702085584047da6bb94195b64ccf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
    {% with type='base' %}
    {% include "components/html_head.html" %}
    {% endwith %}

    <body class="not-home">
        <div class="container">

            <!-- HEADER FOR EVERY PAGE -->
            <div class="navigation">

                {% with title_type='page-title' %}
                {% include "components/title_text.html" %}
                {% endwith %}

                <!-- Loop through all pages -->
                {% for title, link in MENUITEMS %}
                    <!-- Do magic with http/https -->
                    {% if 'http://' in link or 'https://' in link %}
                        <a class="nav-item" href="{{ link }}">{{ title }} </a>
                    {% else %}
                        <a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a>
                    {% endif %}
                {% endfor %}
            </div>

            {% include "components/super_gay.html" %}

            <!-- END HEADER FOR EVERY PAGE -->

            {% block content %}
            {% endblock %}

        </div>

    </body>
</html>