docs/layouts/shortcodes/desktop-install-v2.html

47 lines
2.0 KiB
HTML

{{- $all := .Get "all" -}}
{{- $win := .Get "win" -}}
{{- $beta_win_arm := .Get "beta_win_arm" -}}
{{- $mac := .Get "mac" -}}
{{- $linux := .Get "linux" -}}
{{- $build_path := .Get "build_path" -}}
<blockquote {{ if eq $build_path "/" }} class="tip" {{ end }}>
<p>Download Docker Desktop</p>
<p>
{{- if or $all $win }}
<a rel="noopener"
href="https://desktop.docker.com/win/main/amd64{{ $build_path }}Docker%20Desktop%20Installer.exe">Windows</a>
(<a rel="noopener"
href="https://desktop.docker.com/win/main/amd64{{ $build_path }}checksums.txt">checksum</a>) |
{{ end }}
{{- if or $beta_win_arm }}
<a rel="noopener"
href="https://desktop.docker.com/win/main/arm64{{ $build_path }}Docker%20Desktop%20Installer.exe">Windows ARM Beta</a>
(<a rel="noopener"
href="https://desktop.docker.com/win/main/arm64{{ $build_path }}checksums.txt">checksum</a>) |
{{ end }}
{{- if or $all $mac }}
<a rel="noopener" href="https://desktop.docker.com/mac/main/arm64{{ $build_path }}Docker.dmg">Mac
with Apple chip</a>
(<a rel="noopener"
href="https://desktop.docker.com/mac/main/arm64{{ $build_path }}checksums.txt">checksum</a>) |
<a rel="noopener" href="https://desktop.docker.com/mac/main/amd64{{ $build_path }}Docker.dmg">Mac
with Intel chip</a>
(<a rel="noopener"
href="https://desktop.docker.com/mac/main/amd64{{ $build_path }}checksums.txt">checksum</a>)
{{ end -}}
{{- if or $all $linux }}
|
<a rel="noopener"
href="https://desktop.docker.com/linux/main/amd64{{ $build_path }}docker-desktop-amd64.deb">Debian</a>
-
<a rel="noopener"
href="https://desktop.docker.com/linux/main/amd64{{ $build_path }}docker-desktop-x86_64.rpm">RPM</a>
-
<a rel="noopener"
href="https://desktop.docker.com/linux/main/amd64{{ $build_path }}docker-desktop-x86_64.pkg.tar.zst">Arch</a>
(<a rel="noopener"
href="https://desktop.docker.com/linux/main/amd64{{ $build_path }}checksums.txt">checksum</a>)
{{- end -}}
</p>
</blockquote>