Fix: breadcrumb in blogposts

This commit is contained in:
hyzen
2026-06-05 17:01:24 +05:30
parent 86ccfc68ef
commit 9e3794d584
2 changed files with 20 additions and 1 deletions

18
layouts/blog/single.html Normal file
View File

@@ -0,0 +1,18 @@
{{ define "main" }}
<nav class="uninotes-breadcrumbs breadcrumbs">
<a href="/blog/">Blog</a>
<span>{{ .Title }}</span>
</nav>
<h1>{{ .Title }}</h1>
{{ partial "page/author.html" . }}
{{ partial "main/dates.html" . }}
{{ partial "page/translation_list.html" . }}
{{ partial "page/toc.html" . }}
{{ .Content }}
{{ partial "page/terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ partial "page/terms.html" (dict "taxonomy" "categories" "page" .) }}
{{ partial "page/page_nav.html" . }}
{{ partial "page/page-end.html" . }}
{{ end }}