使用url()来构建url

This commit is contained in:
masnn committed 2020-06-12 13:37:19 +08:00
1 parent 0efac48bde
commit 86f67a0ec3
61 files changed
+262 -275

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
<div class="section__header">
<h1 class="section__title">{{ _('Scripts') }}</h1>
<div class="section__tools">
<a class="tool-button" href="/wiki/help#script"><span class="icon icon-help"></span> {{ _("What's script?") }}</a>
<a class="tool-button" href="{{ url('wiki', page='help', anchor='script') }}"><span class="icon icon-help"></span> {{ _("What's script?") }}</a>
</div>
</div>
<div class="section__body no-padding">