-
Notifications
You must be signed in to change notification settings - Fork 11
/
staticlayout.jinja2
67 lines (53 loc) · 2.25 KB
/
staticlayout.jinja2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="{{ request.locale_name }}" prefix="dcat: https://www.w3.org/TR/vocab-dcat/">
{% set app_package = app_package|default('atramhasis', true) -%}
{% set app_name = app_name|default('Atramhasis') %}
{% set copyright_year = copyright_year|default('2016-2017') %}
<head>
{% block head %}
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ app_name }} - {% block html_title %}Base{% endblock %}</title>
{% block css_files %}
<link rel="stylesheet" href="{{request.static_path(app_package + ':static/css/app.css')}}" />
<link rel="stylesheet" href="{{request.static_path(app_package + ':static/css/print.css')}}" media="print" />
{% endblock %}
{% if request.registry.settings['atramhasis.ldf.enabled']: %}
<link rel="dcat:distribution" href="{{request.registry.settings['atramhasis.ldf.baseurl']}}" />
{% endif %}
<link rel="icon" type="image/x-icon" href="{{request.static_path(app_package + ':static/img/favicon.ico')}}" />
<script src="{{request.static_path(app_package + ':static/bower_components/modernizr/modernizr.js')}}"></script>
{% block js_files_head %}
<script src="{{ request.static_path(app_package + ':static/bower_components/jquery/dist/jquery.js') }}"></script>
<script src="{{ request.static_path(app_package + ':static/bower_components/jquery.cookie/jquery.cookie.js') }}"></script>
{% endblock %}
{% block ga %}
{% set ga_key = ga_key|default(request.registry.settings["ga.tracker_key"]) %}
{% from 'macros.jinja2' import ga_tracker %}
{% if ga_key %}
{{ ga_tracker(ga_key) }}
{% endif %}
{% endblock %}
{% endblock %}
</head>
<body>
{% block vl_header %}
{% endblock %}
{% block header %}
{% endblock %}
{% block content %}
{% endblock %}
{% block subfooter %}
{% endblock %}
{% block footer %}
{% endblock %}
{% block js_files %}
<script src="{{ request.static_path(app_package + ':static/bower_components/foundation/js/foundation.min.js') }}"></script>
<script src="{{ request.static_path(app_package + ':static/js/app.js') }}"></script>
{% endblock %}
{% block vl_footer %}
{% endblock %}
{% block custom_js %}{% endblock %}
</body>
</html>