website/layouts/blog/list.html

22 lines
629 B
HTML
Raw Permalink Normal View History

2021-03-09 18:56:02 +05:30
{{ define "main" }}
<div class="row justify-content-center">
<div class="col-md-12 col-lg-10 col-xl-8">
<article>
<h1 class="text-center">{{ .Title }}</h1>
<div class="text-center">{{ .Content }}</div>
<div class="card-list">
2021-09-01 13:24:31 +05:30
{{ range .Data.Pages -}}
2021-03-09 18:56:02 +05:30
<div class="card">
<div class="card-body">
<h2 class="h3"><a class="stretched-link text-body" href="{{ .Permalink }}">{{ .Params.title }}</a></h2>
2021-09-01 13:24:31 +05:30
<p>{{ .Params.description | safeHTML }}</p>
2021-03-09 18:56:02 +05:30
{{ partial "main/blog-meta.html" . -}}
</div>
</div>
{{ end -}}
</div>
</article>
</div>
</div>
2021-09-01 13:24:31 +05:30
{{ end }}