motarawneh.com/layouts/_default/list.html

21 lines
539 B
HTML
Raw Normal View History

2020-09-29 13:02:48 +00:00
{{ define "main" }}
<main>
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
</div>
</header>
2020-10-02 21:07:58 +00:00
<section class="section list">
<div class="container">
{{ range .Pages }}
<article class="list-item">
<a class="list-item__link" href="{{ .Permalink }}">
<h2 class="list-item__title">{{ .Title }}</h2>
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
</a>
</article>
{{ end }}
</div>
</section>
2020-09-29 13:02:48 +00:00
</main>
{{ end }}