diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-19 21:46:51 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-19 21:46:51 -0400 |
commit | ae9ee14ff153698dd90c6560437e42ff124a6d0b (patch) | |
tree | ffd990442f624d5d09282c4ecea064f3ed588e70 /templates/public/download.html | |
parent | 9b23e64dde9d218c5dfbc70bf38f5e2afe7e4089 (diff) |
Abstract ArchWiki URLs and references.
Notable things:
* Standardize on "ArchWiki", instead of also having "Arch Wiki", via
BRANDING_WIKINAME
* Link to the article "Install_Guide" instead of
"Official_Arch_Linux_Install_Guide", it's a redirect anyway.
* On the download page, it assumes the that the version is just appended to
the URL for the wiki link.
* For the wiki RSS link, It now uses "/${title}?feed=rss" instead of
"?title=${title}&feed=rss".
Diffstat (limited to 'templates/public/download.html')
-rw-r--r-- | templates/public/download.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/public/download.html b/templates/public/download.html index fdfe8e57..72d21736 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -2,6 +2,7 @@ {% load cache %} {% load url from future %} {% load static from staticfiles %} +{% load wiki %} {% block title %}{{ BRANDING_DISTRONAME }} - Downloads{% endblock %} {% block navbarclass %}anb-download{% endblock %} @@ -20,7 +21,7 @@ can always be updated with `pacman -Syu`.</p> <ul> - <li><strong>Current Release:</strong> <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:{{ version }}">{{ version }}</a></li> + <li><strong>Current Release:</strong> <a href="{% wiki_url 'DeveloperWiki:' %}{{ version }}">{{ version }}</a></li> <li><strong>Included Kernel:</strong> 3.0.3</li> <li><strong>Resources:</strong> <ul> @@ -37,7 +38,7 @@ <ul id="download-help"> <li><a href="https://www.archlinux.org/iso/{{ version }}/README" title="Official download instructions">Readme and Instructions</a></li> - <li><a href="https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide" + <li><a href="{% wiki_url 'Install_Guide' %}" title="Official Installation Guide">{{BRANDING_DISTRONAME}} Install Guide</a></li> </ul> @@ -167,7 +168,7 @@ {% endwith %} <p>If you want to become an Official Arch Linux Mirror please follow the - instructions listed <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.</p> + instructions listed <a href="{% wiki_url 'DeveloperWiki:NewMirrors' %}">here</a>.</p> </div> {% endblock %} |