Add bootstrap, more shortcodes and initial dark mode
This commit is contained in:
1
layouts/shortcodes/col.html
Normal file
1
layouts/shortcodes/col.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="col-{{ index .Params 0 }}">{{ .Inner }}</div>
|
1
layouts/shortcodes/container.html
Normal file
1
layouts/shortcodes/container.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="container">{{ .Inner }}</div>
|
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>
|
1
layouts/shortcodes/row.html
Normal file
1
layouts/shortcodes/row.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="row">{{ .Inner }}</div>
|
Reference in New Issue
Block a user