From 0e1a5143c0bba6eee11de0b461400b6a85709281 Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 16 Jun 2023 02:09:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20generate=20random=20id=20?= =?UTF-8?q?for=20multilingual=20quotes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #82 --- templates/shortcodes/multilingual_quote.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/shortcodes/multilingual_quote.html b/templates/shortcodes/multilingual_quote.html index eef9e54..c40e365 100644 --- a/templates/shortcodes/multilingual_quote.html +++ b/templates/shortcodes/multilingual_quote.html @@ -6,13 +6,15 @@ {%- set close_quote = "”" -%} {%- endif -%} +{%- set random_id = get_random(end=100000) -%} +
- +

{{ open_quote ~ translated ~ close_quote }}

-

— {{ author }}

— {{ author }}

{{ open_quote ~ original ~ close_quote }}

-

— {{ author }}

— {{ author }}