-
Notifications
You must be signed in to change notification settings - Fork 6
/
_base.html
100 lines (78 loc) · 3 KB
/
_base.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="en">
<head>
{% block meta %}
{% include '_meta.html' %}
{% endblock %}
{% block title %}
{% include '_title.html' %}
{% endblock %}
{# CSS libraries #}
{% block library_css %}
{{ CSS.push('lib/bootstrap/dist/css/bootstrap.css') }}
{{ CSS.push('lib/magnific-popup/dist/magnific-popup.css') }}
{% endblock library_css %}
{# Custom CSS: standard files #}
{% block theme_css %}
{{ CSS.push('css/theme.css') }}
{{ CSS.push('css/text-styles.css') }}
{% endblock theme_css %}
{# Custom CSS: Template override #}
{% block css %}
{% endblock css %}
{# Font libraries #}
{% block library_fonts %}
{{ CSS.push('lib/font-awesome/css/font-awesome.css') }}
{% endblock library_fonts %}
{# Custom fonts #}
{% block custom_fonts %}
<link href="http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
{% endblock custom_fonts %}
{{ CSS.render('css/style.min.css') }}
{# HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
WARNING: Respond.js doesn't work if you view the page via file:// #}
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
{# analytics section #}
{% block analytics %}
{% include '_analytics.html' %}
{% endblock %}
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
{# Navigation block #}
{% block navigation %}
{% include '_navigation.html' %}
{% endblock navigation %}
{# Intro section #}
{% block intro %}
{% include '_intro.html' %}
{% endblock %}
{# content section (text, photos, markup, etc.) #}
{% block content %}
{% include '_content.html' %}
{% endblock %}
{% block library_js %}
{{ JS.push('lib/jquery/dist/jquery.js') }}
{{ JS.push('lib/bootstrap/dist/js/bootstrap.js') }}
{{ JS.push('lib/jquery-easing/jquery.easing.js') }}
{{ JS.push('lib/jquery-unveil/jquery.unveil.js') }}
{{ JS.push('lib/magnific-popup/dist/jquery.magnific-popup.js') }}
{{ JS.push('js/social-buttons.js') }}
{% endblock library_js %}
{% block maps %}
{# Google maps: Specify any API key in the spreadsheet to enable the map feature. More information on the Google Maps API can be found at https://developers.google.com/maps/ #}
{% if google_maps_api_key %}
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCRngKslUGJTlibkQ3FkfTxj3Xss1UlZDA&sensor=false"></script>
{% endif %}
{% endblock %}
{% block theme_js %}
{{ JS.push('js/theme.js') }}
{% endblock theme_js %}
{% block js %}
{% endblock js %}
{{ JS.render('js/bigread.min.js') }}
</body>
</html>