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

index.html « layouts - github.com/felicianotech/hugo-theme-lean-launch-page.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08647d8066c18f64c4f1121d5bc136f71835d566 (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
<!doctype html>
<html>
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
	<link rel="stylesheet" href="/assets/main.css" />
	<link href="https://fonts.googleapis.com/css?family=Nunito|Open+Sans" rel="stylesheet">
	<link rel="stylesheet" href="/vendor/font-awesome-4.7.0/css/font-awesome.min.css">
	{{ template "_internal/google_analytics.html" . }}
{{ $directory := "themes/hugo-theme-lean-launch-page/static/" }}
{{ $filename := "favicon.png" }}
{{ if (where (readDir $directory) "Name" $filename) }}
	<link rel="icon" type="image/png" href="favicon.png" />
{{ end }}
</head>
<body>
{{ $directory := "themes/hugo-theme-lean-launch-page/static/" }}
{{ $filename := "favicon.png" }}
{{ if (where (readDir $directory) "Name" $filename) }}
	<img class="logo" src="/favicon.png" alt="Logo" />
{{ end }}
	<ul class="social-icons">
		{{ if isset .Site.Params "twitter" }}<li><a href="{{ .Site.Params.twitter }}"><i class="fa fa-twitter"></i></a></li>{{ end }}
		{{ if isset .Site.Params "twitter" }}<li><a href="{{ .Site.Params.facebook }}"><i class="fa fa-facebook"></i></a></li>{{ end }}
		{{ if isset .Site.Params "twitter" }}<li><a href="{{ .Site.Params.instagram }}"><i class="fa fa-instagram"></i></a></li>{{ end }}
		{{ if isset .Site.Params "twitter" }}<li><a href="{{ .Site.Params.googleplus }}"><i class="fa fa-google-plus"></i></a></li>{{ end }}
	</ul>
	{{ block "main" . }}
	{{ end }}
	<h1>{{ .Site.Title }}</h1>
	<p>{{ .Site.Params.tagline }}</p>
	{{ if isset .Site.Params "mailchimpurl" }}{{ partial "mailchimp-signup" . }}{{ end }}
	<div id="benefits">
		{{ range where .Data.Pages "Section" "benefits" }}
		<div>
			<h2><i class="fa {{ .Params.icon }}"></i>{{ .Title }}</h2>
			{{ .Content }}
		</div>
		{{ end }}
	</div>
</body>
</html>