mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 04:51:24 -04:00
feat: add steps component
chore: rename breadcrumb-delimiter to chevron-right
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
<div class="whitespace-nowrap transition-colors min-w-[24px] overflow-hidden text-ellipsis">
|
||||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
||||
</div>
|
||||
{{ partial "utils/icon.html" (dict "context" . "name" "breadcrumb-delimiter" "attributes" "class=\"w-3.5 shrink-0\"") }}
|
||||
{{ partial "utils/icon.html" (dict "context" . "name" "chevron-right" "attributes" "class=\"w-3.5 shrink-0\"") }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="whitespace-nowrap transition-colors font-medium text-gray-700 contrast-more:font-bold contrast-more:text-current dark:text-gray-100 contrast-more:dark:text-current">
|
||||
|
3
layouts/shortcodes/steps.html
Normal file
3
layouts/shortcodes/steps.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div class="steps ml-4 mb-12 border-l border-gray-200 pl-6 dark:border-neutral-800 [counter-reset:step]">
|
||||
{{ .Inner | markdownify }}
|
||||
</div>
|
Reference in New Issue
Block a user