diff options
Diffstat (limited to 'layouts/partials/func/GetSvg.html')
-rw-r--r-- | layouts/partials/func/GetSvg.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/func/GetSvg.html b/layouts/partials/func/GetSvg.html new file mode 100644 index 0000000..bff1fd1 --- /dev/null +++ b/layouts/partials/func/GetSvg.html | |||
@@ -0,0 +1,5 @@ | |||
1 | {{ $resource := dict }} | ||
2 | {{ with resources.Get . | minify }} | ||
3 | {{ $resource = .Content | safeHTML }} | ||
4 | {{ end }} | ||
5 | {{ return $resource }} \ No newline at end of file | ||