forked from Squarespace/base-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.region
45 lines (35 loc) · 1.38 KB
/
site.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<!-- include system scripts, page meta, and header code injection -->
{squarespace-headers}
</head>
<body id="{squarespace.page-id}" class="{squarespace.page-classes}">
<div class="site-container">
<header class="site-header">
<!-- site navigation -->
<squarespace:navigation navigationId="siteNav" template="site-navigation" />
<!-- site title or logo -->
{.section website}
<h1 class="site-title-heading" data-content-field="site-title">
<a href="/" class="site-title-link">{siteTitle}</a>
</h1>
{.end}
</header>
<!-- cms content injection point -->
<main class="content-container" role="main" data-content-field="main-content">
{squarespace.main-content}
</main>
<!--Footer with open block field -->
<footer class="site-footer">
<squarespace:block-field id="footerBlocks" columns="12" />
</footer>
</div>
<!-- combo and minify scripts when not logged in -->
<squarespace:script src="site.js" combo="{.if authenticatedAccount}false{.or}true{.end}" />
<!-- other scripts, and footer code injection -->
{squarespace-footers}
</body>
</html>