We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5e9a3c commit 1692f2aCopy full SHA for 1692f2a
layouts/_partials/toc.html
@@ -20,7 +20,7 @@
20
21
{{- $borderClass := "hx:mt-8 hx:border-t hx:bg-white hx:pt-8 hx:shadow-[0_-12px_16px_white] hx:dark:bg-dark hx:dark:shadow-[0_-12px_16px_#111]" -}}
22
23
- {{- if site.Params.toc.displayTags -}}
+ {{- if and site.Params.toc.displayTags .Params.tags -}}
24
<div class="{{ $borderClass }} hx:sticky hx:bottom-0 hx:flex hx:flex-col hx:items-start hx:gap-2 hx:border-gray-200 hx:dark:border-neutral-800 hx:contrast-more:border-t hx:contrast-more:border-neutral-400 hx:contrast-more:shadow-none hx:contrast-more:dark:border-neutral-400">
25
<p class="hx:mb-1 hx:font-semibold hx:tracking-tight">{{ $tags }}</p>
26
{{ partial "tags.html" . }}
0 commit comments