summaryrefslogtreecommitdiff
path: root/templates/public/index.html
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-19 21:46:51 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-19 21:46:51 -0400
commitae9ee14ff153698dd90c6560437e42ff124a6d0b (patch)
treeffd990442f624d5d09282c4ecea064f3ed588e70 /templates/public/index.html
parent9b23e64dde9d218c5dfbc70bf38f5e2afe7e4089 (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/index.html')
-rw-r--r--templates/public/index.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index de8a5fe8..7c22c251 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -2,6 +2,7 @@
{% load markup cache %}
{% load url from future %}
{% load static from staticfiles %}
+{% load wiki %}
{% block head %}
<link rel="alternate" type="application/rss+xml" title="{{ BRANDING_DISRONAME }} News Updates" href="/feeds/news/" />
@@ -28,8 +29,8 @@
check out our <a href="https://bbs.archlinux.org/" title="Arch Forums">forums</a>
and <a href="https://mailman.archlinux.org/mailman/listinfo/"
title="Arch Mailing Lists">mailing lists</a>
- to get your feet wet. Also glance through our <a href="https://wiki.archlinux.org/"
- title="Arch Wiki">wiki</a>
+ to get your feet wet. Also glance through our <a href="{% wiki_url %}"
+ title="{{BRANDING_WIKINAME}}">wiki</a>
if you want to learn more about Arch.</p>
<p class="readmore"><a href="{% url 'page-about' %}"
@@ -115,11 +116,11 @@
<h4>Documentation</h4>
<ul>
- <li><a href="https://wiki.archlinux.org/"
+ <li><a href="{% wiki_url %}"
title="Community documentation">Wiki</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide"
+ <li><a href="{% wiki_url 'Installation Guide' %}"
title="Official installation guide">Official Installation Guide</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/Beginners'_Guide"
+ <li><a href="%{ wiki_url "Beginners'_Guide" %}"
title="A good place to start for beginners">Unofficial Beginners' Guide</a></li>
</ul>
@@ -128,11 +129,11 @@
<ul>
<li><a href="https://mailman.archlinux.org/mailman/listinfo/"
title="Community and developer mailing lists">Mailing Lists</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/IRC_Channels"
+ <li><a href="{% wiki_url 'IRC_Channels' %}"
title="Official and regional IRC communities">IRC Channels</a></li>
<li><a href="https://planet.archlinux.org/"
title="Arch in the blogosphere">Planet Arch</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/International_Communities"
+ <li><a href="{% wiki_url 'International_Communities' %}"
title="{{DISTRO_SHORTNAME}} communities in your native language">International Communities</a></li>
</ul>
@@ -168,7 +169,7 @@
title="Official Arch projects (git)">Projects in Git</a></li>
<li><a href="{% url 'page-svn' %}"
title="View SVN entries for packages">SVN Repositories</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
+ <li><a href="{% wiki_url 'DeveloperWiki' %}"
title="Developer Wiki articles">Developer Wiki</a></li>
<li><a href="/groups/"
title="View the available package groups">Package Groups</a></li>
@@ -187,7 +188,7 @@
<li><a href="{% url 'page-keys' %}"
title="Package/Database signing master keys">Signing Master Keys</a>
<img width="16" height="16" src="{% static "new.png" %}" alt="New"/></li>
- <li><a href="https://wiki.archlinux.org/index.php/Arch_Linux_Press_Review"
+ <li><a href="{% wiki_url 'Arch_Linux_Press_Review' %}"
title="Arch Linux in the media">Press Coverage</a></li>
<li><a href="{% url 'page-art' %}" title="{{ BRANDING_SHORTNAME }} logos and other artwork for promotional use">Logos &amp; Artwork</a></li>
<li><a href="{% url 'news-list' %}" title="News Archives">News Archives</a></li>