-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathdefault.html
120 lines (95 loc) · 4.04 KB
/
default.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!doctype html>
{% include locale.html %}
<html lang="{{ locale }}" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% if page.title %}{{ page.title }}{% elsif layout.title %}{{ layout.title }}{% elsif page.name %}{{ page.name }}{% else %}{{ site.title }}{% endif %}</title>
{% if page.description %}
<meta name="description" content="{{ page.description }}" />
{% endif %}
{% if page.canonical_url %}
<link rel="canonical" href="https://foodoasis.la{{ page.canonical_url }}" />
{% else %}
<link rel="canonical" href="https://foodoasis.la{{ page.url }}" />
{% endif %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Reem+Kufi|Open+Sans:400,400i,600" />
{% comment %}
* Open Sans - Regular
* Open Sans - Italic
* Reem Kufi - Regular
You can choose more faces here:
https://fonts.google.com/selection?selection.family=Reem+Kufi|Open+Sans:400,400i,600
{% endcomment %}
{% if page.stylesheets %}
{% assign stylesheets = page.stylesheets %}
{% elsif layout.stylesheets %}
{% assign stylesheets = layout.stylesheets %}
{% endif %}
{% for url in stylesheets %}
<link rel="stylesheet" href="{{ url }}" />
{% endfor %}
<link rel="stylesheet" href="/assets/css/elements.css" />
<link rel="stylesheet" href="/assets/css/buttons.css" />
<link rel="stylesheet" href="/assets/css/form.css" />
<link rel="stylesheet" href="/assets/css/header.css" />
<link rel="stylesheet" href="/assets/css/footer.css" />
<link rel="stylesheet" href="/assets/css/nav.css" />
<link rel="stylesheet" href="/assets/css/map.css" />
<link rel="stylesheet" href="/assets/css/location-list.css" />
<link rel="stylesheet" href="/assets/css/location-details.css" />
<link rel="stylesheet" href="/assets/css/audience.css" />
<link rel="stylesheet" href="/assets/css/organizations.css" />
<link rel="stylesheet" href="/assets/css/home.css" />
{% if page.redirect %}
<meta http-equiv="refresh" content="0; url={{ page.redirect }}" />
{% endif %}
<!-- for general use -->
<link rel="icon" type="image/png" href="/assets/images/favicon.png" />
<!-- for iOS -->
<link rel="apple-touch-icon" href="/assets/images/favicon-rgb-240-240-240.png" />
<!-- for Windows 8 -->
<meta name="msapplication-TileImage" content="/assets/images/favicon.png" />
<meta name="msapplication-TileColor" content="rgb(240, 240, 240)" />
{% comment %}
Commented out by Jim, until we have a single page app (i.e. no page refreshes)
<meta name="apple-mobile-web-app-title" content="Food Oasis LA">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-touch-fullscreen" content="yes" />
<!-- KUDOS: https://hacks.mozilla.org/2016/01/google-analytics-privacy-and-event-tracking/ -->
<script src="/assets/js/dnt-helper.js"></script>
<!-- Google Tag Manager -->
{% include google-tag-mgr-head.html %}
{% endcomment %}
</head>
<body{% if page.color or layout.color or page.classname or layout.classname %} class="{{ page.color }} {{ layout.color }} {{ page.classname }} {{ layout.classname }}"{% endif %}>
{% comment %}
Commented out by Jim, to protect users privacy, until we post a privacy notice.
<!-- Google Tag Manager -->
{% include google-tag-mgr-body.html %}
{% endcomment %}
{% if page.include_footer == false or layout.include_footer == false %}
{% assign include_footer = false %}
{% endif %}
{% if page.include_header == false or layout.include_header == false %}
{% assign include_header = false %}
{% endif %}
{% unless include_header == false %}
{% include header.html %}
{% endunless %}
{% if page.include_map == true or layout.include_map == true %}
<div class="map-container" id="map"></div>
<div class="location-summary-container" id="map-location-summary" ></div>
{% endif %}
<main>
{{ content }}
</main>
{% unless include_footer == false %}
{% include footer.html %}
{% endunless %}
{% comment %}
Commented out by Jim, to protect users privacy, until we post a privacy notice.
{% include analytics.html %}
{% endcomment %}
</body>
</html>