Skip to content

Commit efca8f4

Browse files
committed
Update download link rendering + new doc URLs
After another discussion (QubesOS#273), I did the following: * update some links from the download page, that were pointing to documentation URLs on www.qubes-os.org instead of doc.qubes-os.org * remove the filtering of the download links based on their name, allowing "Upgrading to Qubes R[...]" links to be displayed * remove duplicate title attribute on links, because I don't think it is good for accessibility
1 parent 4b6fbb8 commit efca8f4

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

_data/downloads-page.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- r_version: testing
1010
snippets:
1111
- snippet: This is a testing release.
12-
url: /doc/testing/
12+
url: https://doc.qubes-os.org/en/latest/user/downloading-installing-upgrading/testing.html
1313
- snippet: Please help us improve it by reporting any bugs you encounter. For important work, we recommend the latest stable release.
1414
- r_version: stable
1515
snippets:
@@ -27,7 +27,7 @@
2727
- text: Detached PGP signature
2828
- text: Release signing key
2929
- text: How to verify downloads
30-
url: /security/verifying-signatures/
30+
url: https://doc.qubes-os.org/en/latest/project-security/verifying-signatures.html
3131
- text: All download mirrors
3232
url: '#mirrors'
3333
hover: View all download mirrors

_includes/downloads.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,7 @@ <h3 id="{{ release_name | slugify }}">{{ release_name }}</h3>
128128
{% for docdata in release.docs %}
129129
{% assign doc_name = docdata[0] %}
130130
{% assign doc = docdata[1] %}
131-
{% if doc_name == "Installation guide" %}
132-
<li><a href="{{ lang }}{{ doc.url }}" class="black-link" title="Installation guide">{{ doc_name }}</a></li>
133-
{% endif %}
134-
{% if doc_name == "Release notes" %}
135-
<li><a href="{{ lang }}{{ doc.url }}" class="black-link" title="Release notes">{{ doc_name }}</a></li>
136-
{% endif %}
137-
{% if doc_name == "Release schedule" %}
138-
<li><a href="{{ lang }}{{ doc.url }}" class="black-link" title="Release schedule">{{ doc_name }}</a></li>
139-
{% endif %}
131+
<li><a href="{{ lang }}{{ doc.url }}" class="black-link">{{ doc_name }}</a></li>
140132
{% endfor %}
141133
<li><a href="{{ downcont.links[4].url }}" class="black-link" title="{{ downcont.links[4].hover }}">{{ downcont.links[4].text }}</a></li>
142134
</ul>

0 commit comments

Comments
 (0)