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

index.html « layouts - github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82154f27c9b9b35b43cc5820604d66374671707b (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
65

<!DOCTYPE HTML>
<!--
	Dopetrope by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
	{{ partial "htmlhead.html" . }}
	<body class="homepage">
		<div id="page-wrapper">

			<!-- Header -->
				<div id="header-wrapper">
					<div id="header">

						{{ partial "logo.html" . }}

						{{ partial "nav.html" . }}

						{{ partial "banner.html" . }}

						{{ partial "intro.html" . }}

					</div>
				</div>

			<!-- Main -->
				<div id="main-wrapper">
					<div class="container">
						{{ $portfolioItems := where .Site.Pages "Type" .Site.Params.Portfolio.foldername }}
						{{ if $portfolioItems }}
						<div class="row">
							<div class="12u">
								{{ partial "portfolio.html" . }}
							</div>
						</div>
						{{ end }}
						{{ $blogPaginator := .Paginate (where .Data.Pages "Type" .Site.Params.Blog.foldername) 2 }}
						{{ if $blogPaginator.TotalNumberOfElements }}
						<div class="row">
							<div class="12u">
								{{ partial "blog.html" (dict "title" .Site.Params.Blog.title "paginator" $blogPaginator) }}
							</div>
						</div>
						<footer>
							<ul class="actions" style="text-align: center">
								<li><a href="{{ .Site.Params.Blog.foldername }}" class="button big">{{ .Site.Params.Blog.viewalltext }}</a></li>
							</ul>
						</footer>
						{{ end }}
					</div>
				</div>

				{{ partial "footer/index.html" . }}

		</div>

		{{ partial "scripts/index.html" . }}
		{{ if .Site.Params.Settings.disqus }}
		<script id="dsq-count-scr" src="//{{ .Site.Params.Settings.disqus }}.disqus.com/count.js" async></script>
		{{ end }}

	</body>
</html>