Shortcode icons geändert auf svg files, statt font awesome
This commit is contained in:
parent
f57357544c
commit
b0fbf01b1e
1 changed files with 4 additions and 0 deletions
4
layouts/shortcodes/icon.html
Normal file
4
layouts/shortcodes/icon.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{ $name := .Get "name" }}
|
||||
{{ $height := .Get "height" | default "22px" }}
|
||||
|
||||
<img class="icon" src="/icons/{{ $name }}.svg" height="{{ $height }}">
|
||||
Loading…
Reference in a new issue