Initial commit.
This commit is contained in:
12
themes/blowfish/layouts/shortcodes/keyword.html
Normal file
12
themes/blowfish/layouts/shortcodes/keyword.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ $icon := .Get "icon" }}
|
||||
<div class="flex mt-2">
|
||||
<span
|
||||
class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal">
|
||||
<span class="flex flex-row items-center">
|
||||
{{ if $icon }}
|
||||
<span class="mr-1">{{ partial "icon" $icon }}</span>
|
||||
{{ end }}
|
||||
<span> {{- .Inner | markdownify -}} </span>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user