🎨 Tailwind classes cleanup

This commit is contained in:
James Panther
2023-12-26 11:56:32 +11:00
parent 6415614513
commit 68ce84075e
26 changed files with 107 additions and 105 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
<ol class="text-sm text-neutral-500 dark:text-neutral-400 print:hidden">
<ol class="text-sm text-neutral-500 print:hidden dark:text-neutral-400">
{{ template "crumb" (dict "p1" . "p2" .) }}
</ol>
{{ define "crumb" }}
@@ -7,9 +7,9 @@
{{ else if not .p1.IsHome }}
{{ template "crumb" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
<li class="inline {{ if or (eq .p1 .p2) (.p1.IsHome) }}hidden{{ end }}">
<li class="{{ if or (eq .p1 .p2) (.p1.IsHome) }}hidden{{ end }} inline">
<a
class="hover:underline decoration-neutral-300 dark:underline-neutral-600"
class="dark:underline-neutral-600 decoration-neutral-300 hover:underline"
href="{{ .p1.RelPermalink }}"
>{{ if .p1.Title }}
{{- .p1.Title -}}