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

4
<main role="main">
5

6
7
8
9
<div class="jumbotron">
    <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>
10
    </div>
11
12
</div>

13
<div class="container"> <!-- Closed in footer partial -->
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>

30
{{ partial "footer.html" . }}