🎉 Initial commit
This commit is contained in:
8
layouts/shortcodes/icon.html
Normal file
8
layouts/shortcodes/icon.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<span class="relative inline-block align-text-bottom icon">
|
||||
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
|
||||
{{ if $icon }}
|
||||
{{ $icon.Content | safeHTML }}
|
||||
{{ else }}
|
||||
<em>{{ i18n "shortcode.icon_none" }}</em>
|
||||
{{ end }}
|
||||
</span>
|
||||
3
layouts/shortcodes/lead.html
Normal file
3
layouts/shortcodes/lead.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<p class="!mb-9 text-xl text-neutral-400 dark:text-neutral-500">
|
||||
{{ .Inner }}
|
||||
</p>
|
||||
Reference in New Issue
Block a user