Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/shortcodes/slogan.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="cta-buttons">
<a href="{{ ref . (dict "path" "learn/getting-started.md" "lang" $lang) }}" class="button main" style="margin-bottom: 5px;">{{ .Get "get_started" }}</a>
<span class="slogan-separator" style= "font-size: 0.5em;"> Latest Release: &nbsp; <b>{{ $version }}</b> </span>
<span class="slogan-separator" style= "font-size: 0.5em;"> {{ i18n "slogan" $version | safeHTML }} </span>
<div style="display:flex; flex-direction: row; margin-top: 5px;">
<a href="https://ziglang.org/documentation/{{ $version }}/" class="button" style="flex-grow: 1; margin-top: 0px;">{{ .Get "docs" }}</a>
<a href="https://ziglang.org/download/{{ $version }}/release-notes.html" class="button" style="margin-left:5px; margin-top: 0px;">{{ .Get "notes" }}</a>
Expand Down
50 changes: 27 additions & 23 deletions themes/ziglang-original/i18n/en.toml
Original file line number Diff line number Diff line change
@@ -1,46 +1,50 @@
[slogan]
other = "Latest Release: &nbsp; <b>{{ . }}</b>"

[menu-source]
other = "Source Code"

[menu-community]
other = "Join a Community"
[back-to-home]
other = "← Back to the <b>Home</b> page"

[back-to-parent]
other = "← Back to the <b>{{ . }}</b> section"

[back-to-home]
other = "← Back to the <b>Home</b> page"
[menu-community]
other = "Join a Community"

[menu-source]
other = "Source Code"

[download-filename]
other = "Filename"

[download-kind]
other = "Kind"
[downloads-heading]
other = "Releases"

[download-size]
other = "Size"
[downloads-install-from-pkg-manager]
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>."

[downloads-json]
other = "There is a <a href=\"https://ziglang.org/download/index.json\">JSON version of this page</a>."

[download-source]
other = "Source"

[download-binary]
other = "Binary"

[download-documentation]
other = "<a href=\"{{ . }}\">Language Reference</a>"

[download-release-notes]
other = "<a href=\"{{ . }}\">Release Notes</a>"

[download-stdlib-docs]
other = "<a href=\"{{ . }}\">Standard Library Documentation</a> (experimental)"




[download-filename]
other = "Filename"

[download-kind]
other = "Kind"

[download-release-notes]
other = "<a href=\"{{ . }}\">Release Notes</a>"

[download-size]
other = "Size"

[download-source]
other = "Source"

[download-stdlib-docs]
other = "<a href=\"{{ . }}\">Standard Library Documentation</a> (experimental)"
12 changes: 3 additions & 9 deletions themes/ziglang-original/layouts/_default/downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@
{{ end }}
{{ define "main" }}
<div class="container">
<h1>Releases</h1>
<p>You can also
<a href="https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager">
install Zig from a package manager</a>.
</p>
<p>There is a
<a href="https://ziglang.org/download/index.json">
JSON version of this page</a>.
</p>
<h1>{{ i18n "downloads-heading" }}</h1>
<p>{{ i18n "downloads-install-from-pkg-manager" | safeHTML }}</p>
<p>{{ i18n "downloads-json" | safeHTML }}</p>

<div>
{{ range $release_name := $.Site.Params.downloads_release_order }}
Expand Down