Correct layout on tags list view

Make the layout when listing posts by tags consistent with the layout
when listing posts (default blog view)
This commit is contained in:
Michael Romero 2017-03-16 21:09:28 -07:00
parent f786ba7785
commit bb64fb5b8e

View File

@ -22,6 +22,9 @@
</header>
<div class="container" role="main">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="posts-list">
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $pag.Pages }}
<article class="post-preview">
@ -58,7 +61,9 @@
</article>
{{ end }}
</div>
</div>
</div>
</div>
{{ partial "footer.html" . }}
</body>