Download: Move server/headless binaries to specific subpage

This commit is contained in:
Rémi Verschelde
2019-03-12 15:26:39 +01:00
parent 92400e6bcf
commit fa3d594517
3 changed files with 37 additions and 15 deletions

View File

@@ -105,6 +105,7 @@ description = "Download layout"
<a href="/download/linux" class="title-font {% if platform == 'linux' %} active {% endif %}">Linux</a>
<a href="/download/osx" class="title-font {% if platform == 'osx' %} active {% endif %}">mac os</a>
<a href="/download/windows" class="title-font {% if platform == 'windows' %} active {% endif %}">Windows</a>
<a href="/download/server" class="title-font {% if platform == 'server' %} active {% endif %}">Server</a>
</div>
</div>
</div>

View File

@@ -14,24 +14,12 @@ is_hidden = 0
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_x11.64.zip">
64-bit
</a>
<!-- <a href="http://op.godotengine.org:81/downloads/{{stable_version}}/internal2/Godot_v{{stable_version}}-stable_x11.64.zip">Mirror</a> -->
</div>
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_x11.32.zip">
32-bit
</a>
<!-- <a href="http://op.godotengine.org:81/downloads/{{stable_version}}/internal2/Godot_v{{stable_version}}-stable_x11.32.zip">Mirror</a> -->
</div>
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_linux_headless.64.zip">
headless
</a>
</div>
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_linux_server.64.zip">
server
</a>
</div>
{% endput %}
@@ -41,13 +29,11 @@ is_hidden = 0
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/mono/Godot_v{{stable_version}}-stable_mono_x11_64.zip">
64-bit
</a>
<!-- <a href="http://op.godotengine.org:81/downloads/{{stable_version}}/internal2/Godot_v{{stable_version}}-stable_x11.64.zip">Mirror</a> -->
</div>
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/mono/Godot_v{{stable_version}}-stable_mono_x11_32.zip">
32-bit
</a>
<!-- <a href="http://op.godotengine.org:81/downloads/{{stable_version}}/internal2/Godot_v{{stable_version}}-stable_x11.32.zip">Mirror</a> -->
</div>
{% endput %}

View File

@@ -0,0 +1,35 @@
title = "Download | Server"
url = "/download/server"
layout = "download"
description = "Server (Linux) download page"
is_hidden = 0
==
<?php
function onStart() {$this["platform"] = 'server'; }
?>
==
{% put downloads %}
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_linux_headless.64.zip">
Headless (64-bit)
</a>
</div>
<div class="btn split download">
<a href="https://downloads.tuxfamily.org/godotengine/{{stable_version}}/Godot_v{{stable_version}}-stable_linux_server.64.zip">
Server (64-bit)
</a>
</div>
<ul>
<li><em>Headless</em> is a Linux 64-bit build of the editor tools to run on headless environment. It is used from the command line to run tests or export projects.</li>
<li><em>Server</em> is a Linux 64-bit build of the export template running without graphics and audio, useful to host server instances for Godot games.</li>
</ul>
{% endput %}
{% put mono_downloads %}
<p>Server/headless binaries not available yet for the Mono flavor.</p>
{% endput %}
{% put instructions %}
{% endput %}