2022-08-28 23:54:19 +03:00
|
|
|
{{ define "main" }}
|
|
|
|
<div class="container">
|
|
|
|
<main>
|
2022-09-03 00:12:19 +03:00
|
|
|
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb m-0">
|
|
|
|
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
|
|
|
<li class="breadcrumb-item active" aria-current="page">Посты</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
</section>
|
|
|
|
|
2022-08-28 23:54:19 +03:00
|
|
|
<section class="bg-white border rounded shadow-sm p-3 mb-3">
|
2022-09-02 23:14:15 +03:00
|
|
|
<div class="list-group w-auto">
|
2022-08-28 23:54:19 +03:00
|
|
|
{{ range .Pages.ByPublishDate.Reverse }}
|
2022-09-02 23:14:15 +03:00
|
|
|
<div class="list-group-item list-group-item-action d-flex gap-3 py-3">
|
2022-10-06 16:41:12 +03:00
|
|
|
<label class="text-nowrap">
|
|
|
|
{{ .PublishDate.Format "2006-01-02" }}
|
|
|
|
</label>
|
2022-09-25 01:08:24 +03:00
|
|
|
<a class="text-decoration-none" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
2022-09-02 23:14:15 +03:00
|
|
|
</div>
|
2022-08-28 23:54:19 +03:00
|
|
|
{{ end }}
|
2022-09-02 23:14:15 +03:00
|
|
|
</div>
|
2022-08-28 23:54:19 +03:00
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|