Skip to content

Commit 018bc7d

Browse files
committed
includes/latest-release: Simply filename assignment
1 parent 3c240c0 commit 018bc7d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

site/_includes/latest-release.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{%- assign filename = include.filename -%}
21
{%- assign latest_otd_version = site.data.otd-versions | last -%}
3-
{%- assign filename = filename | replace: '{{VERSION}}', latest_otd_version -%}
2+
{%- assign filename = include.filename | replace: '{{VERSION}}', latest_otd_version -%}
43
{%- assign urlBasePath = site.data.links.project.latestReleaseBase -%}
54
Download the <a href="{{ urlBasePath }}{{ filename }}">latest release</a> <small class="text-muted">({{ filename }})</small>

0 commit comments

Comments
 (0)