symposion_app/pinaxcon/templates/site_base.html

118 lines
3.8 KiB
HTML
Raw Normal View History

{% load staticfiles %}
{% load i18n %}
{% load sitetree %}
{% load staticfiles %}
2018-06-04 08:54:51 +00:00
{% load sass_tags %}
2018-06-04 08:54:51 +00:00
<!DOCTYPE html>
2017-09-22 12:17:52 +00:00
2018-06-04 08:54:51 +00:00
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-06-29 23:57:27 +00:00
2018-06-04 08:54:51 +00:00
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
2018-06-23 05:23:48 +00:00
2018-06-17 04:18:04 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'assets/favicon/apple-touch-icon.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'assets/favicon/favicon-32x32.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'assets/favicon/favicon-16x16.png' %}">
<link rel="manifest" href="{% static 'assets/favicon/site.webmanifest' %}">
2018-06-23 05:23:48 +00:00
<meta name="msapplication-TileColor" content="#ffffff">
2018-06-17 04:18:04 +00:00
<meta name="theme-color" content="#ffffff">
2018-06-23 05:23:48 +00:00
2018-06-04 08:54:51 +00:00
{% block styles %}
<link href="{% sass_src 'scss/app.scss' %}" rel="stylesheet" type="text/css" />
{% block extra_style %}{% endblock %}
{% endblock %}
2018-06-17 04:18:04 +00:00
2018-06-04 08:54:51 +00:00
{% block extra_head_base %}
{% block extra_head %}{% endblock %}
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% block template_overrides %}{% endblock %}
<header class="clearfix hidden-print">
{% block navbar %}{% include 'nav.html' %}{% endblock %}
</header>
<main role="main" class="{% block main_class %}container{% endblock %}">
{% if messages %}
2018-06-30 00:30:32 +00:00
<div class="container mb-5 alert alert-light border-primary">
<ul class="messagelist hidden-print">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
2018-06-04 08:54:51 +00:00
{% endif %}
2018-06-24 00:14:29 +00:00
<h1 class="text-primary text-upper h2 mb-5">{% block page_title %}{% endblock %}</h1>
2018-06-04 08:54:51 +00:00
{% block body_base %}
2018-06-30 03:28:03 +00:00
{% block body_out %}
2018-06-04 08:54:51 +00:00
<div class="row">
2018-06-30 03:28:03 +00:00
<div class="col-md-12">
2018-06-04 08:54:51 +00:00
{% block body_outer %}
{% endblock %}
2018-06-04 08:54:51 +00:00
</div>
</div>
2018-06-04 08:54:51 +00:00
{% block content %}
{% endblock %}
{% endblock %}
{% endblock %}
{% block footer_base %}
{% block footer %}
{% endblock %}
{% endblock %}
{% block scripts %}
2018-06-17 04:18:04 +00:00
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
2018-06-04 08:54:51 +00:00
<script src="{% static 'js/app.js' %}" type="text/javascript"></script>
<script src="{% static 'js/jquery.formset.js' %}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
2018-06-17 04:18:04 +00:00
<script src="{% static 'bootstrap/js/bootstrap.bundle.min.js' %}"></script>
{% if settings.ANALYTICS_KEY %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ settings.ANALYTICS_KEY }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ settings.ANALYTICS_KEY }}');
</script>
{% else %}
<!--no-analytics-->
{% endif %}
2018-06-04 08:54:51 +00:00
{% block extra_script %}
{% endblock %}
{% block scripts_extra %}{% endblock %}
{% endblock %}
{% block extra_body_base %}
{% block extra_body %}
{% endblock %}
{% endblock %}
</main>
2018-06-17 04:18:04 +00:00
<footer class="bg-white text-primary py-xl-5 py-2">
2018-06-04 08:54:51 +00:00
<p>
&copy; 2018 linux.conf.au <br />
and Linux Australia. <br />
Linux is a registered <br />
trademark of Linus Torvalds.
</p>
</footer>
</body>
</html>