Revert "simplify page with https://github.com/adityatelange/hugo-PaperMod.git"
This reverts commit c2189ef133
.
This commit is contained in:
parent
c2189ef133
commit
fc43dba964
540 changed files with 29285 additions and 6036 deletions
8
themes/blowfish/layouts/shortcodes/icon.html
Normal file
8
themes/blowfish/layouts/shortcodes/icon.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
|
||||
{{ if $icon }}
|
||||
<span class="relative inline-block align-text-bottom icon">
|
||||
{{ $icon.Content | safeHTML }}
|
||||
</span>
|
||||
{{ else }}
|
||||
{{ errorf `[BLOWFISH] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue