Skip to content

Commit

Permalink
Only link releases where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Jun 2, 2019
1 parent 4b8a04b commit 2e0c8f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,13 @@
{%if page.releaseColumn != false %}
<td>
{% if diff > 0 or r.eol == false %}
<a href="{{page.changelogTemplate | replace: '__RELEASE_CYCLE__',r.releaseCycle | replace: '__LATEST__',r.latest | default: '#'}}">
{% if page.changelogTemplate %}
<a href="{{page.changelogTemplate | replace: '__RELEASE_CYCLE__',r.releaseCycle | replace: '__LATEST__',r.latest}}">
{{r.latest}}
</a>
{%else%}
{{r.latest}}
{%endif%}
{%else%}NA{%endif%}
</td>
{%endif%}
Expand Down

0 comments on commit 2e0c8f4

Please sign in to comment.