From 4e30ae95eaf52a7f427bdf020d118f40e00ab291 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Mon, 9 Oct 2023 13:41:04 -0400 Subject: add some homemade svg, wpartials, and darkmode --- layouts/partials/func/GetSvg.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/partials/func/GetSvg.html (limited to 'layouts/partials/func/GetSvg.html') 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 @@ +{{ $resource := dict }} +{{ with resources.Get . | minify }} + {{ $resource = .Content | safeHTML }} +{{ end }} +{{ return $resource }} \ No newline at end of file -- cgit v1.1