{{ $fileslug := slug $file.Filename }}
diff --git a/templates/pages/gist_embed.html b/templates/pages/gist_embed.html
index e051c76..6515977 100644
--- a/templates/pages/gist_embed.html
+++ b/templates/pages/gist_embed.html
@@ -32,6 +32,8 @@
{{ else if isMarkdown $file.Filename }}
{{ $file.HTML | safe }}
+ {{ else if isSvg $file.Filename }}
+
{{ $file.HTML | safe }}
{{ else }}
{{ $fileslug := slug $file.Filename }}