mirror of
https://github.com/lektor/lektor-website.git
synced 2025-03-12 16:25:52 +01:00
Fix template_var link on /docs/api/templates/globals/get-random-id/
This commit is contained in:
parent
98bb69c091
commit
c7cbf1c587
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user