File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -220,17 +220,23 @@ are available below.
220
220
</p>
221
221
222
222
{% for architecture in page.architectures %}
223
- <h6 class="card-subtitle text-muted">{{ architecture.description }}</h6>
224
- <p class="card-text ml-2">
223
+ {% assign show_architecture_description = true %}
225
224
{% for bin in page.binaries %}
226
225
{% assign asset_filename = "wxMSW-" | append: release_version_bin | append: "_" | append: compiler.id | append: architecture.postfix | append: "_" | append: bin.id | append: ".7z" %}
227
226
{% assign asset = release_assets | where: "name", asset_filename | first %}
228
227
{% if asset %}
229
- <a href="{{ asset.browser_download_url }}" class="wxdl_{{ asset.id }}">{{ bin.description }}</a>
230
- <br />
228
+ {% if show_architecture_description %}
229
+ <h6 class="card-subtitle text-muted">{{ architecture.description }}</h6>
230
+ <p class="card-text ml-2">
231
+ {% assign show_architecture_description = false %}
232
+ {% endif %}
233
+ <a href="{{ asset.browser_download_url }}" class="wxdl_{{ asset.id }}">{{ bin.description }}</a>
234
+ <br />
231
235
{% endif %}
232
236
{% endfor %}
233
- </p>
237
+ {% unless show_architecture_description %}
238
+ </p>
239
+ {% endunless %}
234
240
{% endfor %}
235
241
236
242
</div>
You can’t perform that action at this time.
0 commit comments