1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-06-08 01:41:44 +02:00

Reorganize summary and single post layouts

Now shows blog posts on their target page.
This commit is contained in:
2016-08-30 12:45:13 +03:00
parent 0e54dba17a
commit e4cd676f3a
3 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,14 @@
<div class="container">
<div class="row">
<div class="col-sm-8 blog-main">
{{ range .Data.Pages }}
{{ .Render "summary"}}
{{ end }}
</div> <!-- /.blog-main -->
{{ if not .Site.Params.sidebar.hide }}
{{ partial "sidebar.html" . }}
{{ end }}
</div> <!-- /.row -->
</div> <!-- /.container -->