💄 Style updates to enhance design consistency

This commit is contained in:
James Panther
2021-08-18 12:54:18 +10:00
parent 7f59d04d39
commit 7030022620
20 changed files with 126 additions and 72 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
<ol class="text-sm text-gray-400 dark:text-gray-600">
<ol class="text-sm text-gray-400 dark:text-gray-500">
{{ template "crumb" (dict "p1" . "p2" .) }}
</ol>
{{ define "crumb" }}
@@ -8,6 +8,8 @@
{{ template "crumb" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
<li class="inline {{ if or (eq .p1 .p2) (.p1.IsHome) }}hidden{{ end }}">
<a href="{{ .p1.Permalink }}">{{ .p1.Title }}</a><span class="px-1 text-primary-500">/</span>
<a class="hover:underline underline-gray-300 dark:underline-gray-600" href="{{ .p1.Permalink }}"
>{{ .p1.Title }}</a
><span class="px-1 text-primary-500">/</span>
</li>
{{ end }}