Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html « layouts - github.com/hdcdstr8fwd/foundation-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 982e5e49dce42ead27e8227faca1a61595eb36e1 (plain)
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
<!doctype html>
<html class="no-js" lang="en" dir="ltr">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="x-ua-compatible" content="ie=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title> {{ .Site.Title }} </title>
		<link rel="stylesheet" href="{{ .Site.BaseURL }}css/foundation.css" type="text/css" media="screen">
		<link rel="stylesheet" href="{{ .Site.BaseURL }}css/styles.css" type="text/css" media="screen">
	</head>

	<body>
		<div class="off-canvas-wrapper"> {{ "<!-- Definition of global off canvas wrapper -->" | safeHTML }}
				<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>	{{ "<!-- Definition of inner off canvas wrapper -->" | safeHTML }}
				
				{{ "<!-- Menu -->" | safeHTML }}
				<div class="off-canvas position-left" id="mobile-menu" data-off-canvas>
        			<ul>
						{{ $currentNode := . }}
						{{ range .Site.Menus.main }}
          				<li><a class="nav-item{{if or ($currentNode.IsMenuCurrent "main" .) ($currentNode.HasMenuCurrent "main" .) }} active{{end}}" href="{{.URL}}">{{ .Name}}</a></li>
						{{end}}
        			</ul>
				</div>	
						
				{{ "<!-- Page Content -->" | safeHTML }}
      			<div class="off-canvas-content" data-off-canvas-content>
					
					{{ "<!-- Foundation Mobile Menu -->" | safeHTML }}
					
					<div class="titlebar show-for-small-only">
						<div class="title-bar left">
							<button class="menu-icon" type="button" data-open="mobile-menu"></button>
							<span class="title-bar-title">MENU</span>
						</div>
					</div>

					{{ "<!-- Partials that make up the site -->" | safeHTML }}
		  			{{ partial "nav.html" . }}
		
					{{ partial "hero.html" . }}
		
					{{ partial "main.html" . }}
							
					{{ partial "footer.html" . }}
				</div> {{ "<!-- End page content menu wrapper -->" | safeHTML }}
		
			</div> {{ "<!-- End of global off canvas inner wrapper -->" | safeHTML }}
		</div> {{ "<!-- End of global off canvas wrapper -->" | safeHTML }}
		
		
		{{ "<!-- JS includes -->" | safeHTML }}
		
		<script src="{{ .Site.BaseURL }}js/jquery.js"></script>
		<script src="{{ .Site.BaseURL }}js/what-input.js"></script>
		<script src="{{ .Site.BaseURL }}js/foundation.js"></script>
		<script src="{{ .Site.BaseURL }}js/app.js"></script>
		
	</body>
</html>