Skip to content

Commit

Permalink
✨ List posts in terms.html #9
Browse files Browse the repository at this point in the history
  • Loading branch information
NormandErwan committed Aug 9, 2020
1 parent ea82e28 commit af0e5fb
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions layouts/_default/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,21 @@
<div class="container">
<div class="content">
{{- range .Data.Pages }}
<h2>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<article class="summary">
<header class="header">
<h2 class="header__title">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
</header>

<div class="summary__content">
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
</article>
{{- end }}
</div>
</div>
Expand Down

0 comments on commit af0e5fb

Please sign in to comment.