From c11045e50b0b2a4632700b15a98e6f39ba8abce0 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 21 May 2025 11:05:44 -0500 Subject: [PATCH] grr --- templates/shortcodes/typeit.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/shortcodes/typeit.html b/templates/shortcodes/typeit.html index 9a12a14..6ac7d5c 100644 --- a/templates/shortcodes/typeit.html +++ b/templates/shortcodes/typeit.html @@ -1,13 +1,14 @@ -{% set id = "typeit-{% get_random(0, 100) %}" %} +{% set id = get_random(start=0, end=100) %} +{% set id = "typeit-" ~ id %} -

{{ body }}

+<{% if tag %}{{ tag }}{% else %}div{% endif %} id="{{ id }}">{{ body }}