forked from Squarespace/base-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.region
58 lines (45 loc) · 1.71 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
46
47
48
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1">
<!--Include sqs scripts, meta tags, and user content from the code injection tab.-->
{squarespace-headers}
</head>
<body id="{squarespace.page-id}" class="{squarespace.page-classes}">
<div class="container">
<header id="header" class="header">
<!--Site title or logo.-->
{.section website}
<h1 class="site-title" data-content-field="site-title">
<a href="/">
{.section logoImageUrl}
<img class="logo" src="{logoImageUrl}?format=original" alt="{siteTitle}" />
{.or}
{siteTitle}
{.end}
</a>
</h1>
<!--Site tagline.-->
{.section siteTagLine}
<p class="site-tagline">{@}</p>
{.end}
{.end}
<!--Main navigation.-->
<squarespace:navigation navigationId="mainNav" template="navigation" />
</header>
<!--Content injection point.-->
<main id="content" class="content" role="main" data-content-field="main-content">
{squarespace.main-content}
</main>
<!--Footer with open block field.-->
<footer id="footer" class="footer">
<squarespace:block-field id="footerBlocks" columns="12" />
</footer>
</div>
<!--Combo and minify the scripts when you're not logged in.-->
<squarespace:script src="site.js" combo="{.if authenticatedAccount}false{.or}true{.end}" />
<!--Injection point for tracking scripts and user content from the code injection tab.-->
{squarespace-footers}
</body>
</html>