Add bootstrap, more shortcodes and initial dark mode
This commit is contained in:
6
layouts/shortcodes/fontawesome.html
Normal file
6
layouts/shortcodes/fontawesome.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<span class="inline-svg" >
|
||||
{{- $fname:=print "fontawesome/" ( .Get 0 ) ".svg" -}}
|
||||
{{- $path:="<path" -}}
|
||||
{{- $fill:="<path fill=\"currentColor\"" -}}
|
||||
{{ replace (readFile $fname) $path $fill | safeHTML }}
|
||||
</span>
|
Reference in New Issue
Block a user