|
4 | 4 | {% block description %}{{ page.description | default(value="Cache release") }}{% endblock %} |
5 | 5 |
|
6 | 6 | {% block content %} |
| 7 | +{% set tag = "v" ~ page.title | split(pat="v") | last %} |
7 | 8 | <section class="release-section"> |
8 | 9 | <div class="release-container"> |
9 | | - <article class="docs-content"> |
10 | | - {{ page.content | safe }} |
11 | | - </article> |
| 10 | + <p style="font-size: 0.875rem; color: var(--text-tertiary); margin: 0 0 0.5rem 0;"> |
| 11 | + <a href="/releases/">Releases</a> / {{ page.title }} |
| 12 | + </p> |
| 13 | + <h1>{{ page.title }}</h1> |
| 14 | + <p><time datetime="{{ page.date }}">{{ page.date | date(format="%B %d, %Y") }}</time></p> |
| 15 | + |
| 16 | + <h2>Artifacts</h2> |
| 17 | + {% if page.extra.artifacts is defined %} |
| 18 | + <table class="download-table"> |
| 19 | + <thead> |
| 20 | + <tr> |
| 21 | + <th>Platform</th> |
| 22 | + <th>Format</th> |
| 23 | + <th>Filename</th> |
| 24 | + <th>Checksum</th> |
| 25 | + <th></th> |
| 26 | + </tr> |
| 27 | + </thead> |
| 28 | + <tbody> |
| 29 | + {% for art in page.extra.artifacts %} |
| 30 | + <tr> |
| 31 | + <td>{{ art.platform }}</td> |
| 32 | + <td>{{ art.format }}</td> |
| 33 | + <td>{{ art.filename }}</td> |
| 34 | + <td><span title="{{ art.sha256 }}">{{ art.sha256 | truncate(length=16) }}</span></td> |
| 35 | + <td><a href="{{ art.github_url }}" class="download-btn">Download</a></td> |
| 36 | + </tr> |
| 37 | + {% endfor %} |
| 38 | + </tbody> |
| 39 | + </table> |
| 40 | + {% endif %} |
| 41 | + |
| 42 | + <h2>Verification</h2> |
| 43 | + <p> |
| 44 | + Download the <a href="/releases/{{ tag }}.manifest.toml">signed manifest</a> |
| 45 | + and <a href="/releases/{{ tag }}.manifest.toml.minisig">signature</a>, then verify: |
| 46 | + </p> |
| 47 | + <pre><code>minisign -Vm {{ tag }}.manifest.toml -p minisign.pub</code></pre> |
| 48 | + |
| 49 | + <p> |
| 50 | + <a href="{{ page.extra.github_release }}">GitHub release</a> |
| 51 | + · <a href="/docs/build-verification/">Verification guide</a> |
| 52 | + · <a href="/download/">Download page</a> |
| 53 | + </p> |
12 | 54 | </div> |
13 | 55 | </section> |
14 | 56 | {% endblock %} |
0 commit comments