aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-11-18 17:33:34 -0500
committertdro <tdro@noreply.example.com>2022-11-18 17:33:34 -0500
commitd7df1c7a2850c0cff38f309882564782b49186f1 (patch)
tree45bfd493bfeadbda7d1e044b605bc18b0284c4ed /themes/default/layouts/partials
parentd3e45e2a19fd66f6c807368ee9abc59b975fe4fb (diff)
downloadcanory-d7df1c7a2850c0cff38f309882564782b49186f1.tar.gz
canory-d7df1c7a2850c0cff38f309882564782b49186f1.tar.bz2
canory-d7df1c7a2850c0cff38f309882564782b49186f1.zip
themes/default/layouts/shortcodes: Generalize content warnings with disclose short code
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r--themes/default/layouts/partials/card-unsafe.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/themes/default/layouts/partials/card-unsafe.html b/themes/default/layouts/partials/card-unsafe.html
deleted file mode 100644
index 1afbd2a..0000000
--- a/themes/default/layouts/partials/card-unsafe.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{{- $section := . -}}
-
-{{ if eq $section "begin" }}
-<micro-unsafe>
-<details>
- <summary>
- <h1>
- {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/alert-circle.svg")) }}
- <span>Danger: Unsafe Content. <b><u>Click here</u></b> to show/hide</span>
- </h1>
- </summary>
-</details>
- <micro-unsafe-content>
-{{ end }}
-
-{{ if eq $section "end" }}
- </micro-unsafe-content>
-</micro-unsafe>
-{{ end }}