forked from scala/scala-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdownloadpage.html
65 lines (53 loc) · 1.82 KB
/
downloadpage.html
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{% comment %}Specific content from child layouts{% endcomment %}
{% comment %}Figure out Scala edition (2 or 3?){% endcomment %}
{% assign scala_edition = page.release_version | slice: 0, 1 %}
{% include headertop.html %}
{% include headerbottom.html %}
<div class="navigation-fade-screen"></div>
{% include navbar-inner.html %}
{% if scala_edition == "3" %}
<main id="inner-main" class="download-page scala3">
{% else %}
<main id="inner-main" class="download-page scala2">
{% endif %}
<!-- Title -->
<section class="title-page">
<div class="wrap">
<h1>{{page.title}}</h1>
</div>
</section>
<section class="books">
<div class="wrap">
<div class="inner-box download">
<div class="content-ribbon">
<div class="ribbon-version">
<span>{{page.release_version}}</span>
</div>
<ul>
{% if scala_edition == "3" %}
<li><a href="https://github.com/scala/scala3/releases/tag/{{page.release_version}}">Release Notes</a></li>
<li class="dot">•</li>
<li><a href="https://github.com/scala/scala3/releases/tag/{{page.release_version}}">Changelog</a></li>
{% else %}
<li><a href="https://github.com/scala/scala/releases">Release Notes</a></li>
<li class="dot">•</li>
<li><a href="{{ site.baseurl }}/blog/announcements/">Changelog</a></li>
{% endif %}
{% if page.api_docs %}
<li class="dot">•</li>
<li><a href="{{ page.api_docs }}">API Docs</a></li>
{% endif %}
</ul>
</div>
<div class="main-download">
{% if scala_edition == "3" %}
{% include downloads-scala3.html %}
{% else %}
{% include downloads-scala2.html %}
{% endif %}
</div>
</div>
</div>
</section>
</main>
{% include footer.html %}