mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
templates: use urls.JoinPath when handling URLs
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
<hr class="my-4">
|
||||
<div class="row g-3">
|
||||
{{- range $plugin := .Site.Data.plugins -}}
|
||||
{{- /* TODO we should use urls.JoinPath here too, but the links include `#` which gets escaped */ -}}
|
||||
{{- $href := printf "/docs/%s/%s" $.Site.Params.docs_version $plugin.link }}
|
||||
<div class="col-sm-6 mb-2">
|
||||
<a class="d-block pe-lg-4 text-decoration-none lh-sm" href="{{ $href }}">
|
||||
|
||||
Reference in New Issue
Block a user