Fix typos in templates/lists.md

This commit is contained in:
Andrey S 2017-07-23 14:12:26 +03:00 committed by Bjørn Erik Pedersen
parent af3a0807e8
commit 5589ba96c1

View File

@ -100,14 +100,14 @@ You can now access this `_index.md`'s' content in your list template:
<header> <header>
<h1>{{.Title}}</h1> <h1>{{.Title}}</h1>
</header> </header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _inde.xmd --> <!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}} {{.Content}}
</article> </article>
<ul> <ul>
<!-- Ranges through content/post/*.md --> <!-- Ranges through content/post/*.md -->
{{ range .Data.Pages }} {{ range .Data.Pages }}
<li> <li>
<a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a <a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
</li> </li>
{{ end }} {{ end }}
</ul> </ul>