-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.region
28 lines (25 loc) · 1.76 KB
/
header.region
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
<!doctype html>
<html>
<head>
{.if template.mobileStylesEnabled}
<meta name="viewport" content="width=device-width, initial-scale=1">
{.end}
{squarespace-headers}
</head>
{.if template.mobileStylesEnabled}{.or}<!-- Mobile Styles Are Disabled -->{.end}
<body class="{squarespace.page-classes}{.section website}{.if logoImageUrl} has-logo-image{.or}{.end}{.end}{.section collection}{.background-source-video?} has-page-thumbnail{.or}{.section mainImage} has-page-thumbnail{.end}{.end}{.end}" id="{squarespace.page-id}" ontouchstart="">
<div class="site-wrapper">
<header id="header" class="show-on-scroll" data-offset-el=".index-section" data-offset-behavior="bottom" role="banner">
<div class="header-inner">
{.section website}<div id="{.if logoImageUrl}logoWrapper{.or}siteTitleWrapper{.end}" class="wrapper" data-content-field="site-title">
{.section logoImageUrl}
<h1 id="logoImage"><a href="/"><img src="{logoImageUrl}?format=1500w" alt="{siteTitle}" /></a></h1>
{.or}
<h1 id="siteTitle" class="site-title"><a href="/">{siteTitle}</a></h1>
{.end}
{.end}
</div><!-- comment the linebreak between these two elements because science
--><label for="mobileNavToggle" class="mobile-nav-toggle-label"><div class="top-bar"></div><div class="middle-bar"></div><div class="bottom-bar"></div></label><label for="mobileNavToggle" class="mobile-nav-toggle-label fixed-nav-toggle-label"><div class="top-bar"></div><div class="middle-bar"></div><div class="bottom-bar"></div></label><!-- comment the linebreak between these two elements because science
--><div id="headerNav"><squarespace:navigation navigationId="navPrime" template="navigation" /></div>
</div>
</header>