Fix template_var link on /docs/api/templates/globals/get-random-id/

This commit is contained in:
Jeff Dairiki 2022-02-27 09:15:38 -08:00
parent 98bb69c091
commit c7cbf1c587
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
{% endif %}
{% if this.template_var %}
<li>Template variable: <a href="{{ (
'/docs/api/templates/globals/' ~ this.template_var|lower ~ '/')|url
'/docs/api/templates/globals/' ~ this.template_var|lower|replace('_', '-') ~ '/')|url
}}"><code>{{ this.template_var }}</code></a></li>
{% endif %}
{% if this.version_added %}