1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/templates/base.html

65 lines
1.9 KiB
HTML
Raw Normal View History

2020-04-13 10:39:38 +01:00
{% load static %}
<!DOCTYPE HTML>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Language" content="" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width" />
<link rel="alternate" type="application/rss+xml" href="" />
<meta name="superfish" content="nofish" />
<meta name="application-name" content="TheOrangeOne" />
<title>{% block title %}{% endblock %} :: TheOrangeOne</title>
<link rel="stylesheet" href="{% static 'css/font-awesome.min.css' %}" />
<link rel="stylesheet" href="{% static 'css/index.css' %}" />
</head>
<body class="{{ view_name }}">
2020-04-13 10:39:38 +01:00
2020-04-13 11:37:39 +01:00
<header id="top">
<nav>
<div class="nav-wrapper black">
<a href="#" class="brand-logo right">Logo</a>
<a href="#" data-target="mobile-nav" class="sidenav-trigger">menu</a>
<ul id="nav-mobile" class="left hide-on-med-and-down">
{% include "nav-items.html" %}
</ul>
</div>
</nav>
<ul class="sidenav" id="mobile-nav">
{% include "nav-items.html" %}
</ul>
</header>
<main>
2020-04-13 12:32:26 +01:00
{% block main %}
<div class="container">
{% block content %}{% endblock %}
</div>
{% endblock %}
2020-04-13 11:37:39 +01:00
</main>
<footer class="page-footer black">
<div class="footer-copyright">
<div class="container">
&copy; {% now "Y" %} TheOrangeOne
<a class="grey-text text-lighten-4 right" href="#top">Top</a>
</div>
</div>
</footer>
2020-04-13 10:39:38 +01:00
<script type="text/javascript" src="{% static 'js/materialize.min.js' %}"></script>
2020-04-13 11:37:39 +01:00
<script>
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.sidenav');
var instances = M.Sidenav.init(elems, {});
});
</script>
2020-04-13 12:32:26 +01:00
{% block extrascripts %}{% endblock %}
2020-04-13 10:39:38 +01:00
</body>
</html>