aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/base.html
blob: 69ecd4bc71250f018faac96298715c5cbfd0913b (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
    <head>
        <meta charset="utf-8">
        <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>

        <!-- Load bootstrap, then my own CSS -->
        <!-- <link href="{{ SITEURL }}/theme/css/bootstrap.min.css" rel="stylesheet"> -->
        <link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet">
        <link href="{{ SITEURL }}/theme/css/crumbs.css" rel="stylesheet">
        <link href="{{ SITEURL }}/theme/css/cr_gay_override.css" rel="stylesheet">

        <!-- Load Montserrat, Inconsolata and font-awesome -->
        <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500;subset=cyrillic,latin-ext" rel="stylesheet"> 
        <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> 
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
        
    </head>

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

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

                <div class="page-title" title="Inconsolata is my favourite monospace font, after all...">
                    <span id="t-color-red"><b># ~ </b></span>
                    <span id="t-color-org">Fun</span>
                    <span id="t-color-ylw">Memory</span>
                    <span id="t-color-grn">Violations</span>
                    <span class="cursor" id="cursor">&nbsp;</span>
                </div>

                <!-- 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>