adding all svgs and partials to handle them in order to ask for help in the forums.
[theme-danix.xyz.git] / layouts / shortcodes / svg.html
index 64ee2b4..1575bc3 100644 (file)
@@ -1,4 +1,4 @@
-<span class="inline-svg" >
-{{- $fname:=print "../SVGs/" ( .Get 0 ) ".svg" -}}
-{{ $fname | readFile | safeHTML }}
-</span>
\ No newline at end of file
+<pre class="inline-vg">
+{{ $favicon := resources.Get "SVGs/linux.svg" }}
+{{ $favicon | absURL | readFile | safeHTML }}
+</pre>