page_breadcrumb: Implement a breadcrumb and display it above the <main> content
The breadcrumb shows navigation from the home page as a path: / > Posts > This Post en.yaml
This commit is contained in:
parent
db3f1f40fa
commit
a5e5d04b9f
4 changed files with 47 additions and 0 deletions
|
@ -9,6 +9,9 @@
|
|||
{{ partial "site/header.html" . }}
|
||||
</header>
|
||||
<main>
|
||||
{{ if not .IsNode }}
|
||||
{{ partial "page_breadcrumb.html" . }}
|
||||
{{ end }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue