summaryrefslogtreecommitdiff
path: root/templates/base.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/base.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/base.html')
-rw-r--r--templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 3eb67c92..2b3aed66 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,4 +1,4 @@
-{% load url from future %}{% load static from staticfiles %}<!DOCTYPE html>
+{% load url from future %}{% load static from staticfiles %}{% load wiki %}<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ BRANDING_DISTRONAME }}{% endblock %}</title>
@@ -21,7 +21,7 @@
<li id="anb-home"><a href="/" title="{{ BRANDING_SHORTNAME }} news, packages, projects and more">Home</a></li>
<li id="anb-packages"><a href="/packages/" title="{{ BRANDING_SHORTNAME }} Package Database">Packages</a></li>
<li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li>
- <li id="anb-wiki"><a href="https://wiki.archlinux.org/" title="Community documentation">Wiki</a></li>
+ <li id="anb-wiki"><a href="{% wiki_url %}" title="Community documentation">Wiki</a></li>
<li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li>
<li id="anb-aur"><a href="https://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li>
<li id="anb-download"><a href="{% url 'page-download' as pdl %}{{ pdl }}" title="Get {{ BRANDING_DISTRONAME }}">Download</a></li>
@@ -33,7 +33,7 @@
{% if user.is_authenticated %}
<ul>
<li><a href="{% url 'devel-index' %}" title="Developer Dashboard">Dashboard</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
+ <li><a href="{% wiki_url 'DeveloperWiki' %}"
title="Developer Wiki">DevWiki</a></li>
<li><a href="{% url 'news-list' as newsl %}{{ newsl }}" title="Manage news articles">News</a></li>
<li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li>
@@ -75,7 +75,7 @@
title="Contact Aaron Griffin">Aaron Griffin</a>.</p>
<p>The Arch Linux name and logo are recognized
- <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
+ <a href="{% wiki_url 'DeveloperWiki:TrademarkPolicy' %}"
title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.</p>
<p>The registered trademark Linux® is used pursuant to a sublicense from LMI,