File tree Expand file tree Collapse file tree 3 files changed +31
-33
lines changed Expand file tree Collapse file tree 3 files changed +31
-33
lines changed Original file line number Diff line number Diff line change 7
7
</ div >
8
8
< div class ="cta-buttons ">
9
9
< a href ="{{ ref . (dict "path " "learn/getting-started.md" "lang" $lang) }}" class="button main " style ="margin-bottom: 5px; "> {{ .Get "get_started" }}</ a >
10
- < span class ="slogan-separator " style = "font-size: 0.5em; "> Latest Release: < b > {{ $version }} </ b > </ span >
10
+ < span class ="slogan-separator " style = "font-size: 0.5em; "> {{ i18n "slogan" $version | safeHTML }} </ span >
11
11
< div style ="display:flex; flex-direction: row; margin-top: 5px; ">
12
12
< a href ="https://ziglang.org/documentation/{{ $version }}/ " class ="button " style ="flex-grow: 1; margin-top: 0px; "> {{ .Get "docs" }}</ a >
13
13
< a href ="https://ziglang.org/download/{{ $version }}/release-notes.html " class ="button " style ="margin-left:5px; margin-top: 0px; "> {{ .Get "notes" }}</ a >
Original file line number Diff line number Diff line change
1
+ [slogan ]
2
+ other = " Latest Release: <b>{{ . }}</b>"
1
3
2
- [menu-source ]
3
- other = " Source Code"
4
4
5
- [menu-community ]
6
- other = " Join a Community "
5
+ [back-to-home ]
6
+ other = " ← Back to the <b>Home</b> page "
7
7
8
8
[back-to-parent ]
9
9
other = " ← Back to the <b>{{ . }}</b> section"
10
10
11
- [back-to-home ]
12
- other = " ← Back to the <b>Home</b> page "
11
+ [menu-community ]
12
+ other = " Join a Community "
13
13
14
+ [menu-source ]
15
+ other = " Source Code"
14
16
15
- [download-filename ]
16
- other = " Filename"
17
17
18
- [download-kind ]
19
- other = " Kind "
18
+ [downloads-heading ]
19
+ other = " Releases "
20
20
21
- [download-size ]
22
- other = " Size"
21
+ [downloads-install-from-pkg-manager ]
22
+ other = " You can also <a href=\" https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager\" > install Zig from a package manager</a>."
23
+
24
+ [downloads-json ]
25
+ other = " There is a <a href=\" https://ziglang.org/download/index.json\" >JSON version of this page</a>."
23
26
24
- [download-source ]
25
- other = " Source"
26
27
27
28
[download-binary ]
28
29
other = " Binary"
29
30
30
31
[download-documentation ]
31
32
other = " <a href=\" {{ . }}\" >Language Reference</a>"
32
33
33
- [download-release-notes ]
34
- other = " <a href=\" {{ . }}\" >Release Notes</a>"
35
-
36
- [download-stdlib-docs ]
37
- other = " <a href=\" {{ . }}\" >Standard Library Documentation</a> (experimental)"
38
-
39
-
40
-
41
-
34
+ [download-filename ]
35
+ other = " Filename"
42
36
37
+ [download-kind ]
38
+ other = " Kind"
43
39
40
+ [download-release-notes ]
41
+ other = " <a href=\" {{ . }}\" >Release Notes</a>"
44
42
43
+ [download-size ]
44
+ other = " Size"
45
45
46
+ [download-source ]
47
+ other = " Source"
46
48
49
+ [download-stdlib-docs ]
50
+ other = " <a href=\" {{ . }}\" >Standard Library Documentation</a> (experimental)"
Original file line number Diff line number Diff line change 3
3
{{ end }}
4
4
{{ define "main" }}
5
5
< div class ="container ">
6
- < h1 > Releases</ h1 >
7
- < p > You can also
8
- < a href ="https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager ">
9
- install Zig from a package manager</ a > .
10
- </ p >
11
- < p > There is a
12
- < a href ="https://ziglang.org/download/index.json ">
13
- JSON version of this page</ a > .
14
- </ p >
6
+ < h1 > {{ i18n "downloads-heading" }}</ h1 >
7
+ < p > {{ i18n "downloads-install-from-pkg-manager" | safeHTML }}</ p >
8
+ < p > {{ i18n "downloads-json" | safeHTML }}</ p >
15
9
16
10
< div >
17
11
{{ range $release_name := $.Site.Params.downloads_release_order }}
You can’t perform that action at this time.
0 commit comments