hugo-theme-termlite/layouts/_default/baseof.html
Eryn Wells a5e5d04b9f 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
2024-07-03 07:41:23 -07:00

21 lines
565 B
HTML

<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "base/head.html" . }}
{{ block "head_css" . }}{{ end }}
</head>
<body>
<header class="site-header">
{{ partial "site/header.html" . }}
</header>
<main>
{{ if not .IsNode }}
{{ partial "page_breadcrumb.html" . }}
{{ end }}
{{ block "main" . }}{{ end }}
</main>
<footer class="site-footer">
{{ partial "site/footer.html" . }}
</footer>
</body>
</html>