File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,7 @@ <h3>Download {{ page.name }}</h3>
3434 < div class ="content ">
3535 < p > Latest {{ page.name }} release in {{ page.category }} is {{ page.version }}, released on {{ page.date | date: "%Y-%m-%d %H:%M" }} UTC.</ p >
3636
37- {% assign markdowndate = '2024-10-22' | date: '%s' %}
38- {% assign versiondate = page.date | date: '%s' %}
39- {% if versiondate > markdowndate && raw_type contains "openttd" %}
40- < div class ="changelog "> [ < a href ="https://cdn.openttd.org/{{ folder }}/changelog.md "> Changelog</ a > ]</ div >
41- {% else %}
42- < div class ="changelog "> [ < a href ="https://cdn.openttd.org/{{ folder }}/changelog.txt "> Changelog</ a > ]</ div >
43- {% endif %}
37+ < div class ="changelog "> [ < a href ="https://cdn.openttd.org/{{ folder }}/{{ page.changelog | default: "changelog.txt " }}"> Changelog</ a > ]</ div >
4438 < div id ="download-combo ">
4539 < input type ="hidden " id ="download-combo-state " value ="" />
4640 < input type ="hidden " id ="download-base-name " value ="{{ page.base }} " />
You can’t perform that action at this time.
0 commit comments