abdullahtarawneh.com/layouts/_default/list.html

24 lines
660 B
HTML
Raw Normal View History

2020-10-16 20:00:32 +00:00
{{ define "title" }}
{{.Title}} | {{ .Site.Title }}
{{ end }}
2020-10-10 19:09:30 +00:00
{{ define "main" }}
<main>
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
</div>
</header>
<section class="section list">
<div class="container">
{{ range .Pages }}
<a class="list-item" href="{{ .Permalink }}">
2020-10-16 20:00:32 +00:00
<img class="list-item__image" src="{{.Permalink}}cover.jpg">
2020-10-10 19:09:30 +00:00
<h2 class="list-item__title">{{ .Title }}</h2>
2020-10-16 20:00:32 +00:00
<p class="list-item__summary">{{.Summary}}</p>
2020-10-10 19:09:30 +00:00
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
</a>
{{ end }}
</div>
</section>
</main>
{{ end }}