6121ce79cc
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html. Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage editor. Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
102 lines
3.9 KiB
HTML
Executable file
102 lines
3.9 KiB
HTML
Executable file
{% load staticfiles %}
|
||
{% load metron_tags %}
|
||
{% load i18n %}
|
||
{% load sitetree %}
|
||
{# <!-- https://gist.github.com/geedmo/5682742--> #}
|
||
<!DOCTYPE html>
|
||
<html lang="en" class="no-js">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="description" content="">
|
||
|
||
<!-- disable browser cache (for now) -->
|
||
<meta http-equiv="cache-control" content="max-age=0" />
|
||
<meta http-equiv="cache-control" content="no-cache" />
|
||
<meta http-equiv="expires" content="0" />
|
||
<meta http-equiv="expires" content="Tue, 01 Jan 1990 12:00:00 GMT" />
|
||
|
||
|
||
{% block viewport %}
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||
{% endblock %}
|
||
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
|
||
{% block styles %}
|
||
<link rel="stylesheet" href="{% static 'pyconau2017/css/app.css' %}">
|
||
<link rel="stylesheet" href="{% static 'pyconau2017/css/print.css' %}" media="print">
|
||
<link href="{% static 'pyconau2017/css/pyconau.css' %}" rel="stylesheet">
|
||
<link href="{% static 'pyconau2017/css/bootstrap.css' %}" rel="stylesheet">
|
||
|
||
<link rel="icon" href="{% static 'pycon2017/images/favicon.ico' %}"
|
||
<!--Meta tags-->
|
||
<meta name="theme-color" content="#0c486c">
|
||
{% block extra_style %}
|
||
<link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
|
||
{% endblock %}
|
||
{% endblock %}
|
||
<!--Twitter-->
|
||
<meta name="twitter:card" content="summary">
|
||
<meta name="twitter:site" content="@pyconau2017">
|
||
<meta name="twitter:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria"
|
||
<meta name="twitter:description"content="Discover the future of Open Source at linux.conf.au 2017. Tickets on sale from October.">
|
||
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'pyconau2017/images/socmed/twitter-tuz.png' %}">
|
||
<meta name="twitter:image:alt" content="Tuz">
|
||
<!--Open Graph-->
|
||
<meta property="og:url" content="https://2017.pycon-au.org/">
|
||
<meta property="og:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria">
|
||
<meta property="og:description" content="Discover Python at Pycon AU 2017. Tickets on sale from February.">
|
||
<meta property="og:type" content="website">
|
||
<meta property="fb:admins" content="729577430">
|
||
<meta property="fb:profile_id" content="293907417664731">
|
||
{% block extra_head_base %}
|
||
{% block extra_head %}{% endblock %}
|
||
{% endblock %}
|
||
</head>
|
||
<body class="{% block body_class %}{% endblock %}"
|
||
style="background-image: url({% static 'pyconau2017/images/pyconau-2016-collage.jpg' %});">
|
||
{% block topbar_base %}
|
||
{#
|
||
{% block nav %}
|
||
{% sitetree_menu from "main" include "trunk" template "sitetree_header.html" %}
|
||
<a href="#" data-menu-opener="" class="l-header--menu-opener"></a>
|
||
</header>
|
||
{% sitetree_menu from "main" include "trunk" template "sitetree_opener.html" %}
|
||
{% endblock %}
|
||
#}
|
||
{% endblock %}
|
||
|
||
{% block body_base %}
|
||
<div style="height: 100px;" />
|
||
<main role="main">
|
||
{% block body %}
|
||
{% block content %}
|
||
{% endblock %}
|
||
{% endblock %}
|
||
</div>
|
||
{% endblock %}
|
||
|
||
{% block footer_base %}
|
||
<!-- https://gist.github.com/geedmo/5682742-->
|
||
<footer class="l-footer l-footer__alt">
|
||
{% block footer %}
|
||
{% endblock %}
|
||
</footer>
|
||
{% endblock %}
|
||
|
||
</main>
|
||
{% block scripts %}
|
||
{% comment%}
|
||
<script src="{% static 'pyconau2017/js/app.js' %}"></script>
|
||
{% include "_scripts.html" %}
|
||
<script src="//cdnjs.cloudflare.com/ajax/libs/ace/1.2.0/ace.js"></script>
|
||
{% endcomment %}
|
||
{% block extra_script %}{% endblock %}
|
||
{% endblock %}
|
||
{% block extra_body_base %}
|
||
{% block analytics %}
|
||
{% include "analytics.html" %}
|
||
{% endblock %}
|
||
{% block extra_body %}{% endblock %}
|
||
{% endblock %}
|
||
</body>
|
||
</html>
|