From 47fc02a8c71af4926148beb5d5cc0fc221aa5429 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sun, 15 Dec 2024 14:37:33 +0300 Subject: Auto-commit 2024-12-15 --- layouts/_default/_markup/render-codeblock-mermaid.html | 4 ++++ layouts/_default/_markup/render-image.html | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 layouts/_default/_markup/render-codeblock-mermaid.html (limited to 'layouts/_default/_markup') diff --git a/layouts/_default/_markup/render-codeblock-mermaid.html b/layouts/_default/_markup/render-codeblock-mermaid.html new file mode 100644 index 0000000..d32626f --- /dev/null +++ b/layouts/_default/_markup/render-codeblock-mermaid.html @@ -0,0 +1,4 @@ +
+    {{- .Inner | htmlEscape | safeHTML }}
+
+{{ .Page.Store.Set "hasMermaid" true }} \ No newline at end of file diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index 93e530d..b2ccc08 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,3 +1,5 @@ +
+ {{ . }} +{{- with .Title }}
{{.}}
{{end -}} + +
\ No newline at end of file -- cgit v1.2.3