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

4
5
</div> <!-- </container> from header partial -->

6
<main role="main">
7

8
<div class="row">
9
10
	<!-- Main jumbotron for a primary marketing message or call to action -->
	<div class="jumbotron">
11
12
13
14
15
        <div class="container">
            <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>
        </div>
    </div>
16
17
</div>

18
<div class="container"> <!-- Closed in footer partial -->
19
20
21
{{ range where .Site.Pages "Title" "_index" }}
	<div class="row doc-main">
		{{ .Content }}
22
	</div>
23
{{ end }}
key-amb's avatar
key-amb committed
24

key-amb's avatar
key-amb committed
25
{{ if isset .Site.Params "withSitePosts" }}
26
27
28
<hr />

<div class="row doc-main text-center">
key-amb's avatar
key-amb committed
29
	<a href="{{ $baseUrl }}/post">See posts for {{ .Site.Title }}</a>
30
</div>
key-amb's avatar
key-amb committed
31
{{ end }}
32
33
34

</main>

35
{{ partial "footer.html" . }}