-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy pathrelease.html
More file actions
29 lines (28 loc) · 1.27 KB
/
release.html
File metadata and controls
29 lines (28 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% assign pathComponents = page.path | split: '/' %}
{% for pathComponent in pathComponents limit: 1 %}
{% if pathComponent.size == 2 %}
{% assign lang = pathComponent %}
{% else %}
{% assign lang = 'en' %}
{% endif %}
{% endfor %}
<div class="release">
<h1>{{include.release.name[lang]}}</h1>
<ul class="release-info">
{%if include.release.postgresappVersion%}<li>Postgres.app v{{include.release.postgresappVersion}}</li>{%endif%}
<li>{{site.strings[lang].requires-os}} macOS {{include.release.postgresappMinSystemVersion}}</li>
<li>{{site.strings[lang].download-size}} {{include.release.size}}</li>
<li><a href="{{include.release.releaseNotesLocation}}">{{site.strings[lang].release-notes}}</a></li>
</ul>
<ul class="release-contents">
{% for postgresqlVersion in include.release.postgresqlVersions %}
<li>
PostgreSQL {{ postgresqlVersion.postgres }}
/ PostGIS {{ postgresqlVersion.postgis }}
{%if postgresqlVersion.plv8 %} / plv8 {{ postgresqlVersion.plv8 }}{% endif %}
{%if postgresqlVersion.architecture %} <span class="architecture"> · {{ postgresqlVersion.architecture }}</span>{% endif %}
</li>
{% endfor %}
</ul>
<a class="download" href="{{include.release.downloadLocation}}">⤓ {{site.strings[lang].download-button}}</a>
</div>