mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-25 08:21:54 +02:00
Add keywords list component
This commit is contained in:
parent
ea8344a4bc
commit
b1e8e00267
3 changed files with 11 additions and 0 deletions
9
layouts/partials/keyword.html
Normal file
9
layouts/partials/keyword.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<span style="margin-top: 0.5rem" class="mr-2">
|
||||
<span class="flex">
|
||||
<span
|
||||
class="rounded-full bg-primary-500 dark:bg-primary-300 text-neutral-50 dark:text-neutral-700 px-1 py-[1px] text-xs font-normal"
|
||||
>
|
||||
{{ . }}
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
1
layouts/shortcodes/keyword.html
Normal file
1
layouts/shortcodes/keyword.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ partial "keyword.html" .Inner }}
|
1
layouts/shortcodes/keywordList.html
Normal file
1
layouts/shortcodes/keywordList.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="flex flex-row flex-wrap items-center">{{- .Inner -}}</div>
|
Loading…
Add table
Reference in a new issue