Skip to content

Commit a67df93

Browse files
committed
Don't use get_url for absolute, external URLs
1 parent dbf96ae commit a67df93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1 class="mt-0">{{ section.title | default(value="Modern Documentation Theme")
3636
<img src="{{ section.extra.icon}}" height=250> </img>
3737
</p>
3838
<a class="btn btn-primary btn-lg px-4 mb-2" href="{{ get_url(path=section.extra.left_url | default(value="/")) | safe }}" role="button">{{ section.extra.left_url_button | default(value="Get started") }}</a>
39-
<a class="btn btn-primary btn-lg px-4 mb-2 ms-4" href="{{ get_url(path=section.extra.right_url | default(value="/")) | safe }}" role="button">{{ section.extra.right_url_button | default(value="Get started") }}</a>
39+
<a class="btn btn-primary btn-lg px-4 mb-2 ms-4" href="{{ section.extra.right_url | safe }}" role="button">{{ section.extra.right_url_button | default(value="Get started") }}</a>
4040
</div>
4141
</div>
4242
</section>

0 commit comments

Comments
 (0)