{%- if lang != config.default_language -%} {%- set open_quote = trans(key="open_quotation_mark" | safe, lang=lang) -%} {%- set close_quote = trans(key="close_quotation_mark" | safe, lang=lang) -%} {%- else -%} {%- set open_quote = "“" -%} {%- set close_quote = "”" -%} {%- endif -%} {# The `random_id` ensures that each instance of the shortcode has a "unique" id #} {# allowing individual interactive elements (like toggles) to function correctly. #} {# This avoids conflicts when multiple instances of the shortcode are used. #} {# More context: https://github.com/welpo/tabi/issues/82 #} {%- set random_id = get_random(end=100000) -%}
{{ open_quote ~ translated ~ close_quote }}
— {{ author }}
{{ open_quote ~ original ~ close_quote }}
— {{ author }}