base.html 3.34 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
<!-- HTML 5 definition -->
<!DOCTYPE html>

<!-- Start the HTML page for Go -->
8
<html lang="en-us">
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  <!-- load in our header content for every page  -->
  <head>
    <!-- load in the title block defined on each html page -->
    <title>
      {% block title %}
      {% endblock %}
    </title>

    <!-- Metatags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!-- Chrome on Android navbar color -->
    <meta name="theme-color" content="#006633">
    <!-- FB/Opengraph tags -->
    <meta property="og:url" content="https://go.gmu.edu/">
    <meta property="og:type" content="website">
    <meta property="og:title" content="SRCT Go">
    <!--<meta property="og:image" content="https://git.gmu.edu/uploads/project/avatar/10/noun_534670_cc.png">-->
    <meta property="og:description" content="University-branded URL shortening.">
    <meta property="og:site_name" content="SRCT Go">
    <meta property="og:locale" content="en_US">
    <meta property="article:author" content="SRCT">
David Haynes's avatar
David Haynes committed
32
33
34
35
36
37
38
39
    <!-- Twitter card tags -->
    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@MasonSRCT">
    <meta name="twitter:creator" content="@MasonSRCT">
    <meta name="twitter:url" content="https://go.gmu.edu/">
    <meta name="twitter:title" content="SRCT Gp">
    <meta name="twitter:description" content="University-branded URL shortening.">
    <!--<meta name="twitter:image" content="https://git.gmu.edu/uploads/project/avatar/10/noun_534670_cc.png">-->
40
41
42
43
44
45
46
47
48
49
50
51
52
53

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

    <!-- Load in global CSS -->
    <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
      rel="stylesheet" type="text/css">
    <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>
Nick Feibel's avatar
Nick Feibel committed
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

    <!-- Matomo -->
    <script type="text/javascript">
      var _paq = _paq || [];
    /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
      _paq.push(['trackPageView']);
      _paq.push(['enableLinkTracking']);
      (function() {
        var u="//matomo.srct.gmu.edu/";
        _paq.push(['setTrackerUrl', u+'piwik.php']);
        _paq.push(['setSiteId', '4']);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
      })();
  </script>
<!-- End Matomo Code -->

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
  </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 bootstrap container -->
    <div class="container">
      <!-- Load in the main page content -->
      {% block content %}
      {% endblock %}
    </div>

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