X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fshortcodes%2Fsvg.html;fp=layouts%2Fshortcodes%2Fsvg.html;h=1575bc3adbe42a1efc363da5a4fd58bc1577682e;hb=ed9943a3856aca00fd21cdb949c352338a2e702f;hp=64ee2b471ba10785e0d0b9f73a84fb316ba652e8;hpb=50cea8caaa0e23e7a03209ba76b5138d4597460d;p=theme-danix.xyz.git diff --git a/layouts/shortcodes/svg.html b/layouts/shortcodes/svg.html index 64ee2b4..1575bc3 100644 --- a/layouts/shortcodes/svg.html +++ b/layouts/shortcodes/svg.html @@ -1,4 +1,4 @@ - -{{- $fname:=print "../SVGs/" ( .Get 0 ) ".svg" -}} -{{ $fname | readFile | safeHTML }} - \ No newline at end of file +
+{{ $favicon := resources.Get "SVGs/linux.svg" }}
+{{ $favicon | absURL | readFile | safeHTML }}
+