@@ -151,7 +151,7 @@ <h3 class="feature__title">{{ feature.title }}</h3>
151151 </ div >
152152
153153 < div class ="features__cta ">
154- < a href ="/ features/ " class ="btn btn--ghost ">
154+ < a href ="{{ get_url(path=' features') | safe }} " class ="btn btn--ghost ">
155155 Explore all features
156156 < svg xmlns ="http://www.w3.org/2000/svg " width ="18 " height ="18 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
157157 < path d ="M5 12h14 "/>
@@ -229,7 +229,7 @@ <h2 class="benchmarks__title">{{ config.extra.product.benchmarks.title | safe }}
229229 < div class ="container ">
230230 < h2 class ="next-steps__title "> Next Steps</ h2 >
231231 < div class ="next-steps__grid ">
232- < a href ="/ docs/ " class ="next-steps__card ">
232+ < a href ="{{ get_url(path=' docs') | safe }} " class ="next-steps__card ">
233233 < div class ="next-steps__icon ">
234234 < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
235235 < path d ="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20 "/>
@@ -238,7 +238,7 @@ <h2 class="next-steps__title">Next Steps</h2>
238238 < h3 class ="next-steps__card-title "> Read the docs</ h3 >
239239 < p class ="next-steps__card-desc "> Learn all hx commands and configuration options</ p >
240240 </ a >
241- < a href ="/ features/ " class ="next-steps__card ">
241+ < a href ="{{ get_url(path=' features') | safe }} " class ="next-steps__card ">
242242 < div class ="next-steps__icon ">
243243 < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
244244 < polygon points ="13 2 3 14 12 14 11 22 21 10 12 10 13 2 "/>
@@ -315,7 +315,7 @@ <h2 class="bhc-promo__title">
315315 </ div >
316316 </ div >
317317 < div class ="bhc-promo__cta ">
318- < a href ="https://bhc. arcanist.sh " target ="_blank " rel ="noopener " class ="bhc-promo__btn ">
318+ < a href ="https://arcanist.sh/bhc " target ="_blank " rel ="noopener " class ="bhc-promo__btn ">
319319 Explore BHC
320320 < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round ">
321321 < path d ="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6 "/>
@@ -340,7 +340,7 @@ <h2 class="bhc-promo__title">
340340 < h4 class ="landing-footer__title "> {{ group.title }}</ h4 >
341341 < ul class ="landing-footer__links ">
342342 {% for link in group.links %}
343- < li > < a href ="{{ link.url }} "{% if link.external %} target ="_blank " rel ="noopener "{% endif %} > {{ link.text }}</ a > </ li >
343+ < li > < a href ="{% if link.url is starting_with(pat='http') or link.external %}{{ link.url }}{% else %}{{ get_url(path=link.url | trim_start_matches(pat='/')) | safe }}{% endif % } "{% if link.external %} target ="_blank " rel ="noopener "{% endif %} > {{ link.text }}</ a > </ li >
344344 {% endfor %}
345345 </ ul >
346346 </ div >
0 commit comments