base.html 2.04 KB
Newer Older
David Haynes's avatar
David Haynes committed
1
<!-- Tell Django to load static files -->
2
3
{% load staticfiles %}

David Haynes's avatar
David Haynes committed
4
5
6
7
8
9
<!-- HTML 5 definition -->
<!DOCTYPE html>

<!-- Start the HTML page for Go -->
<html>

10
    <!-- load in our header content for every page  -->
David Haynes's avatar
David Haynes committed
11
    <head>
12
        <!-- load in the title block defined on each html page -->
David Haynes's avatar
David Haynes committed
13
14
15
16
17
18
19
20
21
22
23
24
        <title>
            {% block title %}
            {% endblock %}
        </title>

        <!-- Some metadata -->
        <meta charset="UTF-8">
        <meta name="keywords" content="George Mason, URL shortener, URL">
        <meta name="description" content="University branded URL shortener.">
        <meta name="author" content="Mason SRCT">
        <meta name="robots" content="all">
        <meta name="viewport" content="width=device-width, initial-scale=1">
25
        <meta name="theme-color" content="#006633">
David Haynes's avatar
David Haynes committed
26
27
28
29
30
31
32

        <!-- Load in our icon -->
        <link rel="icon" type="image/ico" href="{% static "img/favicon.ico"%}" />

        <!-- Load in global CSS -->
        <link href="https://fonts.googleapis.com/css?family=Carrois+Gothic"
        rel="stylesheet" type="text/css">
33
34
        <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
        rel="stylesheet" type="text/css">
David Haynes's avatar
David Haynes committed
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
        <link rel="stylesheet" href="{% static "css/bootswatch.min.css" %}" />
        <link rel="stylesheet" href="{% static "css/styles.css" %}" />

        <!-- Load in global js -->
        <script src="{% static "js/jquery.min.js" %}"></script>
        <script src="{% static "js/bootstrap.min.js" %}"></script>
        <script src="{% static "js/clipboard.min.js" %}"></script>
    </head>

    <!-- Load in the body of a Go page -->
    <body>
        <!-- Load in the navbar template -->
        {% include 'layouts/navigation.html' %}

        <!-- Wrap the page content in a container -->
        <div class="container">
            <!-- Load in the main page content -->
            {% block content %}
            {% endblock %}
        </div>

        <!-- Load in the footer template -->
        {% include 'layouts/footer.html' %}
    </body>
59
</html>