Skip to content

Commit b11dd5e

Browse files
committed
wiki: device_variants: Pass page.folder to device_link
Change-Id: If4c780ea6baed2007f6c650475d5584f5b0fa77f
1 parent b3e316f commit b11dd5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_includes/templates/device_variants.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Select your variant using the comparison below to make sure your guides are corr
4040

4141
<div class="variants">
4242
{%- for device in sorted %}
43-
<div class="variant-item" onClick="location.href='{{ device | device_link | relative_url }}'">
43+
<div class="variant-item" onClick="location.href='{{ device | device_link: page.folder | relative_url }}'">
4444
<div class="variant-title">
45-
<a href="{{ device | device_link | relative_url }}" class="device_link">{{ device.name }}</a>
45+
<a href="{{ device | device_link: page.folder | relative_url }}" class="device_link">{{ device.name }}</a>
4646
</div>
4747
<div class="variant-content">
4848
<table class="deviceinfo table variant_info">

0 commit comments

Comments
 (0)