You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{# NOTE: This file MUST NOT contain ANY line-breaks, else shortcode inlining wont work properly. #}{% if not id %}{{ throw(message="Missing id for reference shortcode.") }}{% endif %}{% set defs = load_data(path="@/wiki/references.toml") %}{% if id not in defs %}{% set message = "Definition-Id '" ~ id ~ "' does not exist. Check <ahref='/wiki/references'>references</a> file?" %}{{ throw(message=message) }}{% endif %}{% set def = defs[id] %}{% if body %}{% set link_text = body %}{% elif raw %}{% set link_text = def.url %}{% elif def.title %}{% set link_text = def.title %}{% else %}{% set link_text = id %}{% endif %}<ahref="{{ def.url | safe }}"target="_blank">{{ link_text | markdown(inline=true) }}</a>
1
+
{# NOTE: This file MUST NOT contain ANY line-breaks, else shortcode inlining wont work properly. #}{% if not id %}{{ throw(message="Missing id for reference shortcode.") }}{% endif %}{% set defs = load_data(path="@/wiki/references.toml") %}{% if id not in defs %}{% set message = "Definition-Id '" ~ id ~ "' does not exist. Check <ahref='/wiki/references'>references</a> file?" %}{{ throw(message=message) }}{% endif %}{% set def = defs[id] %}{% if body %}{% set link_text = body %}{% elif raw %}{% set link_text = def.url %}{% elif def.title %}{% set link_text = def.title %}{% else %}{% set link_text = id %}{% endif %}<ahref="{{ def.url | safe }}"target="_blank"title="{{ def.title }} #{{id}} {{ def.url | safe }}">{{ link_text | markdown(inline=true) }}</a>
0 commit comments