forked from drowl87/hextra_mirror
feat: add filetree component for shortcode
chore: update tailwind config and move hugo_stats
This commit is contained in:
9
layouts/shortcodes/filetree/file.html
Normal file
9
layouts/shortcodes/filetree/file.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{- $name := .Get "name" -}}
|
||||
|
||||
|
||||
<li class="flex list-none">
|
||||
<span class="inline-flex cursor-default items-center py-1">
|
||||
{{- partial "utils/icon" (dict "name" "document-text" "attributes" "width=1em") -}}
|
||||
<span class="ml-1">{{ $name }}</span>
|
||||
</span>
|
||||
</li>
|
Reference in New Issue
Block a user