Skip to content

Commit

Permalink
wrap post names in li, in post listing
Browse files Browse the repository at this point in the history
  • Loading branch information
arjkb committed Aug 6, 2018
1 parent deed198 commit 0f4ccd6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions layouts/_default/list.html
Expand Up @@ -2,14 +2,16 @@
<section>
<ul class="posts_listing">
{{ range where .Pages.ByDate.Reverse "Section" "post" }}
<div class="row" id="posts">
<div class="d-none d-sm-block col-sm-3 date-time-title">
<time>{{ .Date.Format "02 Jan 2006" }}</time>
<li>
<div class="row" id="posts">
<div class="d-none d-sm-block col-sm-3 date-time-title">
<time>{{ .Date.Format "02 Jan 2006" }}</time>
</div>
<div class="col-sm date-time-title post">
<a href="{{ .URL }}">{{ .Title }}</a>
</div>
</div>
<div class="col-sm date-time-title post">
<a href="{{ .URL }}">{{ .Title }}</a>
</div>
</div>
</li>
{{ end }}
</ul>
</section>
Expand Down

0 comments on commit 0f4ccd6

Please sign in to comment.