Commit 2f0390ee authored by Ethan Madison's avatar Ethan Madison
Browse files

Add sidebar to index



This information should show on all pages.
Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
parent d5087ad6
......@@ -10,20 +10,26 @@
</div>
</div>
<div class="container"> <!-- Closed in footer partial -->
{{ range where .Site.Pages "Title" "_index" }}
<div class="row doc-main">
{{ .Content }}
</div>
{{ end }}
{{ if isset .Site.Params "withSitePosts" }}
<hr />
<div class="row doc-main text-center">
<a href="{{ $baseUrl }}/post">See posts for {{ .Site.Title }}</a>
</div>
{{ end }}
<div class="container">
<div class="row">
<div class="col-sm-8 doc-main">
{{ range where .Site.Pages "Title" "_index" }}
<div class="row doc-main">
{{ .Content }}
</div>
{{ end }}
{{ if isset .Site.Params "withSitePosts" }}
<hr />
<div class="row doc-main text-center">
<a href="{{ $baseUrl }}/post">See posts for {{ .Site.Title }}</a>
</div>
{{ end }}
</div> <!-- /.doc-main -->
{{ partial "sidebar-single.html" . }}
</div> <!-- /.row -->
</main>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment