- /download/ and /de/download/: big download button, file name, size and release date, requirements (64-bit PC, UEFI or BIOS, >=16 GB disk that gets erased, USB stick, network cable with internet, second device), five install steps (Etcher / Rufus DD mode / dd, boot menu, Secure Boot off, proksi.local:5000, wizard, pull stick), checksum + verify commands when the release has one, alpha notice, link to all releases - the release data comes from the Forgejo API at build time (partials/release.html): newest release with an .iso asset, falling back to params.version if the lookup fails; getresource cache disabled so a build never pins an old release - homepage: status chip follows the latest release, 'Download ISO' primary CTA + 'Source code' ghost CTA, numbered how-it-works cards, download band before the closer - releases now upload furtka-<ver>.iso.sha256, and release.yml rebuilds the site after publishing so the download page follows each release Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wq1hzUp4ZmCKHDuLKCnu73
63 lines
2.3 KiB
HTML
63 lines
2.3 KiB
HTML
{{ define "main" }}
|
|
{{- $r := partialCached "release.html" . "release" -}}
|
|
{{- $file := path.Base $r.url -}}
|
|
<article class="download">
|
|
<header class="dl-hero">
|
|
<p class="status-chip"><span class="mono">{{ $r.version }}</span></p>
|
|
<h1>{{ .Title }}</h1>
|
|
<p class="lede">{{ .Description }}</p>
|
|
|
|
<div class="dl-card">
|
|
<a class="cta cta--primary" href="{{ $r.url }}" download>
|
|
<svg aria-hidden="true" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3v12"/><path d="m7 10 5 5 5-5"/><path d="M5 21h14"/></svg>
|
|
{{ .Params.button }}
|
|
</a>
|
|
<dl class="dl-meta">
|
|
<div><dt>ISO</dt><dd class="mono">{{ $file }}</dd></div>
|
|
{{ with $r.size }}<div><dt>{{ $.Params.size_label }}</dt><dd>{{ lang.FormatNumber 1 (div (float .) 1e9) }} GB</dd></div>{{ end }}
|
|
{{ with $r.date }}<div><dt>{{ $.Params.released }}</dt><dd>{{ time.Format ":date_long" . }}</dd></div>{{ end }}
|
|
</dl>
|
|
<p class="dl-host">{{ .Params.host_note }}</p>
|
|
</div>
|
|
|
|
<p class="dl-alpha">{{ .Params.alpha | markdownify }}</p>
|
|
</header>
|
|
|
|
<section class="dl-section">
|
|
<p class="section-eyebrow">{{ .Params.need_label }}</p>
|
|
<ul class="dl-needs">
|
|
{{ range .Params.needs }}<li>{{ . | markdownify }}</li>{{ end }}
|
|
</ul>
|
|
</section>
|
|
|
|
<section class="dl-section">
|
|
<p class="section-eyebrow">{{ .Params.steps_label }}</p>
|
|
<ol class="dl-steps">
|
|
{{ range .Params.steps }}
|
|
<li class="step-card">
|
|
<h2>{{ .title }}</h2>
|
|
<div class="step-body">{{ replace .body "{iso}" $file | markdownify }}</div>
|
|
</li>
|
|
{{ end }}
|
|
</ol>
|
|
</section>
|
|
|
|
<section class="dl-section">
|
|
<p class="section-eyebrow">{{ .Params.verify_label }}</p>
|
|
{{ with $r.sha256 }}
|
|
<p>{{ $.Params.verify_intro }}</p>
|
|
<pre class="dl-hash"><code>{{ . }}</code></pre>
|
|
<pre class="dl-cmds"><code><span class="c"># Linux</span>
|
|
sha256sum {{ $file }}
|
|
<span class="c"># macOS</span>
|
|
shasum -a 256 {{ $file }}
|
|
<span class="c"># Windows (PowerShell)</span>
|
|
Get-FileHash {{ $file }}</code></pre>
|
|
{{ else }}
|
|
<p class="dl-muted">{{ $.Params.verify_missing }}</p>
|
|
{{ end }}
|
|
</section>
|
|
|
|
<p class="dl-older"><a href="{{ $r.all }}">{{ .Params.older }} →</a></p>
|
|
</article>
|
|
{{ end }}
|