index.html 882 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
{{ range where .Site.Pages "Title" "_index" }}
	<div class="row doc-main">
key-amb's avatar
key-amb committed
16
		<p class="doc-entry-meta"><time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></p>
17
		{{ .Content }}
18
	</div>
19
{{ end }}
key-amb's avatar
key-amb committed
20

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

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

</main>

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