summaryrefslogtreecommitdiff
path: root/templates/public
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/art.html2
-rw-r--r--templates/public/download.html7
-rw-r--r--templates/public/feeds.html10
-rw-r--r--templates/public/index.html19
-rw-r--r--templates/public/svn.html4
5 files changed, 22 insertions, 20 deletions
diff --git a/templates/public/art.html b/templates/public/art.html
index f013a040..89f1f81e 100644
--- a/templates/public/art.html
+++ b/templates/public/art.html
@@ -11,7 +11,7 @@
<h3>Logos for Press Usage</h3>
<p>The following {{BRANDING_DISTRONAME}} logos are available for press and other use, subject to
- the restrictions of our <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
+ the restrictions of our <a href="{% wiki_url 'DeveloperWiki:TrademarkPolicy' %}"
title="{{BRANDING_DISTRONAME}} Trademark Policy">trademark policy</a>.</p>
<p><strong>Two-color standard version</strong><br />
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 %}
diff --git a/templates/public/feeds.html b/templates/public/feeds.html
index 764ebd90..f298de7f 100644
--- a/templates/public/feeds.html
+++ b/templates/public/feeds.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html" %}{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - RSS Feeds{% endblock %}
{% block content %}
@@ -15,10 +15,10 @@
<p>Grab the <a href="/feeds/news/" class="rss" title="{{ BRANDING_DISTRONAME }} News feed">news item feed</a>
to keep up-to-date with the latest news from the {{ BRANDING_DISTRONAME }} development staff.</p>
- <p>The <a href="https://wiki.archlinux.org/index.php?title=Special:RecentChanges&amp;feed=rss"
- title="ArchWiki Recent Changes feed" class="rss">Arch Wiki: Recent changes feed</a>
- is also available to track document changes from the <a href="https://wiki.archlinux.org/"
- title="Arch Wiki community documentation">Arch Wiki</a>.</p>
+ <p>The <a href="{% wiki_url 'Special:RecentChanges?feed=rss' %}"
+ title="{{ BRANDING_WIKINAME }} Recent Changes feed" class="rss">{{ BRANDING_WIKINAME }}: Recent changes feed</a>
+ is also available to track document changes from the <a href="{% wiki_url %}"
+ title="{{ BRANDING_WIKINAME }} community documentation">{{ BRANDING_WIKINAME }}</a>.</p>
<h3>Package Feeds</h3>
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>
diff --git a/templates/public/svn.html b/templates/public/svn.html
index 38e20ec9..88c6df93 100644
--- a/templates/public/svn.html
+++ b/templates/public/svn.html
@@ -5,7 +5,7 @@
<h2 class="title">SVN Repositories</h2>
<p>
The PKGBUILD files can be fetched via the ABS utility. To learn more
- about ABS, see <a href="https://wiki.archlinux.org/index.php/ABS">the ABS wiki page</a>.
+ about ABS, see <a href="{% wiki_url 'ABS' %}">the ABS wiki page</a>.
</p>
<p>The SVN repositories have been cloned into git repositories and can be
viewed via the cgit interface.
@@ -31,7 +31,7 @@ cd community
svn update &lt;your-package-name&gt;</pre>
<p>
- Visit <a href="https://wiki.archlinux.org/index.php?title=Getting_PKGBUILDS_From_SVN">the wiki</a>
+ Visit <a href="{% wiki_url 'Getting_PKGBUILDS_From_SVN' %}">the wiki</a>
for more tips on checking out and updating svn PKGBUILDs.
</p>