summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2022-01-15 00:13:48 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2022-01-15 00:13:48 +0100
commitd272efa49173c3708ddde54a96486261b73d7908 (patch)
treec6b5fa20c04593552fb378777cdc78471b1892b8 /layouts
parent0a32a8eeb98d5f3507edf5e303ae655f4b923c74 (diff)
...
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/svg.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/svg.html b/layouts/shortcodes/svg.html
new file mode 100644
index 0000000..8378691
--- /dev/null
+++ b/layouts/shortcodes/svg.html
@@ -0,0 +1,3 @@
+<div class="svg-container" style="width: {{(print (index .Params 1))}}">
+{{ readFile (print (index .Params 0)) | safeHTML }}
+</div>