diff options
| author | mo8it <mo8it@proton.me> | 2025-05-17 20:20:19 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2025-05-17 20:20:19 +0200 |
| commit | 8fa598ae7eb8c014657cea787376109b7f4c5d18 (patch) | |
| tree | 164fed24b93a459b672025eea15e0831526c7c7e /website/templates/shortcodes | |
| parent | 2f700991f32de65ad8a6972edfa688731fa528f4 (diff) | |
Add details shortcode
Diffstat (limited to 'website/templates/shortcodes')
| -rw-r--r-- | website/templates/shortcodes/details.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/website/templates/shortcodes/details.html b/website/templates/shortcodes/details.html new file mode 100644 index 0000000..c32d7c8 --- /dev/null +++ b/website/templates/shortcodes/details.html @@ -0,0 +1,9 @@ +<details> + <summary> + <strong>{{ summary | safe }}</strong> (<em>click to expand</em>) + </summary> + + <blockquote> + {{ body | markdown | safe }} + </blockquote> +</details> |
