Skip to content

Commit

Permalink
Add check for openttd downloads only
Browse files Browse the repository at this point in the history
  • Loading branch information
merni-ns authored Dec 25, 2024
1 parent f8e46c9 commit b378e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h3>Download {{ page.name }}</h3>

{% assign markdowndate = '22-10-2024' | date: '%s' %}
{% assign versiondate = page.date | date: '%s' %}
{% if versiondate <= markdowndate %}
{% if versiondate <= markdowndate && raw_type contains "openttd" %}
<div class="changelog">[&nbsp;<a href="https://cdn.openttd.org/{{ folder }}/changelog.txt">Changelog</a>&nbsp;]</div>
{% else %}
<div class="changelog">[&nbsp;<a href="https://cdn.openttd.org/{{ folder }}/changelog.md">Changelog</a>&nbsp;]</div>
Expand Down

0 comments on commit b378e03

Please sign in to comment.