add breadcrumb's
This commit is contained in:
parent
91d80f9ff0
commit
c4c3a58dbc
@ -1,6 +1,15 @@
|
||||
{{ define "main" }}
|
||||
<div class="container">
|
||||
<main>
|
||||
<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>
|
||||
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3">
|
||||
<div class="list-group w-auto">
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
|
@ -2,7 +2,13 @@
|
||||
<div class="container">
|
||||
<main>
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
|
||||
<h3 class="m-0">Теги</h3>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb m-0">
|
||||
<li class="breadcrumb-item"><a href="/">Главная</a></li>
|
||||
<li class="breadcrumb-item"><a href="/posts/">Посты</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Теги</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="bg-white border rounded shadow-sm p-3 mb-3">
|
||||
|
Loading…
Reference in New Issue
Block a user