Add breadcrumbs

This commit is contained in:
James Panther
2021-08-18 10:08:06 +10:00
parent 64dd424b80
commit 85b0f11c77
8 changed files with 30 additions and 2 deletions
+3
View File
@@ -1,6 +1,9 @@
{{ define "main" }}
<article class="max-w-prose">
<header>
{{ if .Site.Params.article.showBreadcrumbs | default false }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold">{{ .Title | emojify }}</h1>
<div class="mt-8 mb-12 text-base text-gray-400 dark:text-gray-500">
{{ partial "article-meta.html" . }}