index.html 756 Bytes
Newer Older
key-amb's avatar
key-amb committed
1
{{ $baseUrl := .Site.BaseUrl }}
key-amb's avatar
key-amb committed
2
3
{{ partial "header.html" . }}

4
<main role="main">
5

6
<div class="row">
7
8
	<!-- Main jumbotron for a primary marketing message or call to action -->
	<div class="jumbotron">
9
10
		<h1>{{ .Site.Title }}</h1>
		<p>{{ if isset .Site.Params "description" }}{{ .Site.Params.description }}{{ else }}You can customize this text by params "description" in your <code>config.toml</code>.{{ end }}</p>
11
	</div>
12
13
</div>

14
15
16
{{ range where .Site.Pages "Title" "_index" }}
	<div class="row doc-main">
		{{ .Content }}
17
	</div>
18
{{ end }}
key-amb's avatar
key-amb committed
19

key-amb's avatar
key-amb committed
20
{{ if isset .Site.Params "withSitePosts" }}
21
22
23
<hr />

<div class="row doc-main text-center">
key-amb's avatar
key-amb committed
24
	<a href="{{ $baseUrl }}/post">See posts for {{ .Site.Title }}</a>
25
</div>
key-amb's avatar
key-amb committed
26
{{ end }}
27
28
29

</main>

key-amb's avatar
key-amb committed
30
{{ partial "footer.html" . }}