aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/subtree.html
diff options
context:
space:
mode:
authorsoaos <soaos@soaos.dev>2026-04-03 17:20:59 -0400
committersoaos <soaos@soaos.dev>2026-04-03 17:20:59 -0400
commitf28c56ddd35ab468527eda2b116f300732938205 (patch)
tree35afd7cfd032650202fbca9eddac66c0939314f1 /templates/shortcodes/subtree.html
Initial Commit (Fresh Start)
Diffstat (limited to 'templates/shortcodes/subtree.html')
-rw-r--r--templates/shortcodes/subtree.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/shortcodes/subtree.html b/templates/shortcodes/subtree.html
new file mode 100644
index 0000000..09f29ce
--- /dev/null
+++ b/templates/shortcodes/subtree.html
@@ -0,0 +1,12 @@
+<li>
+ <details {% if open %}open{% endif %}>
+ <summary>
+ {% if url %}<a href="{{ url }}" {% if blank %}target="_blank"{% endif %}>{% else %}<b>{% endif %}
+ {{ name | safe }}
+ {% if url %}</a>{% else %}</b>{% endif %}
+ </summary>
+ <ul>
+ {{ body | markdown | safe }}
+ </ul>
+ </details>
+</li> \ No newline at end of file