diff options
Diffstat (limited to 'templates/public/index.html')
-rw-r--r-- | templates/public/index.html | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/templates/public/index.html b/templates/public/index.html index d815363b..a6ff7e9f 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -1,10 +1,11 @@ {% extends "base.html" %} {% load cache %} {% load static from staticfiles %} +{% load wiki %} {% block head %} -<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" /> -<link rel="alternate" type="application/rss+xml" title="Arch Linux Package Updates" href="/feeds/packages/" /> +<link rel="alternate" type="application/rss+xml" title="{{ BRANDING_DISRONAME }} News Updates" href="/feeds/news/" /> +<link rel="alternate" type="application/rss+xml" title="{{ BRANDING_DISRONAME }} Package Updates" href="/feeds/packages/" /> {% endblock %} {% block content_left %} @@ -12,7 +13,7 @@ <div id="intro" class="box"> <h2>A simple, lightweight distribution</h2> - <p>You've reached the website for <strong>Arch Linux</strong>, a + <p>You've reached the website for <strong>{{BRANDING_DISTRONAME}}</strong>, a lightweight and flexible Linux® distribution that tries to Keep It Simple.</p> @@ -25,14 +26,14 @@ <p>Our strong community is diverse and helpful, and we pride ourselves on the range of skillsets and uses for Arch that stem from it. Please 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> - if you want to learn more about Arch.</p> + and <a href="{{ MAILMAN_BASE_URL }}/mailman/listinfo/" + title="{{ BRANDING_SHORTNAME }} Mailing Lists">mailing lists</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 {{BRANDING_SHORTNAME}}.</p> <p class="readmore"><a href="{% url 'page-about' %}" - title="Learn more about Arch Linux">Learn more...</a></p> + title="Learn more about {{ BRANDING_DISTRONAME }}">Learn more...</a></p> </div> <div id="news"> @@ -41,7 +42,7 @@ <span class="arrow"></span> </h3> - <a href="/feeds/news/" title="Arch News RSS Feed" + <a href="/feeds/news/" title="{{ BRANDING_SHORTNAME }} News RSS Feed" class="rss-icon"><img width="16" height="16" src="{% static "rss.png" %}" alt="RSS Feed" /></a> {% for news in news_updates %}{% if forloop.counter0 < 5 %} @@ -88,7 +89,7 @@ <h3>Recent Updates <span class="more">(<a href="/packages/?sort=-last_update" title="Browse all of the latest packages">more</a>)</span></h3> - <a href="/feeds/packages/" title="Arch Package Updates RSS Feed" + <a href="/feeds/packages/" title="{{ BRANDING_SHORTNAME }} Package Updates RSS Feed" class="rss-icon"><img width="16" height="16" src="{% static "rss.png" %}" alt="RSS Feed" /></a> <table> @@ -110,31 +111,32 @@ <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/Installation_guide" + <li><a href="{% wiki_url 'Installation_guide' %}" title="Installation guide">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">Beginners' Guide</a></li> </ul> <h4>Community</h4> <ul> - <li><a href="https://mailman.archlinux.org/mailman/listinfo/" + <li><a href="{{ MAILMAN_BASE_URL }}/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" - title="Arch communities in your native language">International Communities</a></li> + <li><a href="{% wiki_url 'International_communities' %}" + title="{{DISTRO_SHORTNAME}} communities in your native language">International Communities</a></li> </ul> <h4>Support</h4> <ul> - <li><a href="{% url 'page-donate' %}" title="Help support Arch Linux">Donate</a></li> + <li><a href="{% url 'page-donate' %}" + title="Help support {{ BRANDING_DISTRONAME }}">Donate</a></li> <li><a href="http://schwag.archlinux.ca/" title="USB keys, jewellery, case badges">Arch Schwag</a></li> <li><a href="http://www.zazzle.com/archlinux*" @@ -159,11 +161,11 @@ <h4>Development</h4> <ul> - <li><a href="https://projects.archlinux.org/" - title="Official Arch projects (git)">Projects in Git</a></li> + <li><a href="{{ PROJECTS_URL }}" + title="Official {{BRANDING_SHORTNAME}} 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> @@ -180,9 +182,9 @@ <ul> <li><a href="{% url 'page-keys' %}" title="Package/Database signing master keys">Signing Master Keys</a></li> - <li><a href="https://wiki.archlinux.org/index.php/Arch_Linux_press_coverage" - title="Arch Linux in the media">Press Coverage</a></li> - <li><a href="{% url 'page-art' %}" title="Arch logos and other artwork for promotional use">Logos & Artwork</a></li> + <li><a href="{% wiki_url 'Arch_Linux_press_coverage %}" + title="{{ BRANDING_DISTRONAME }} in the media">Press Coverage</a></li> + <li><a href="{% url 'page-art' %}" title="{{ BRANDING_SHORTNAME }} logos and other artwork for promotional use">Logos & Artwork</a></li> <li><a href="{% url 'news-list' %}" title="News Archives">News Archives</a></li> <li><a href="/feeds/" title="Various RSS Feeds">RSS Feeds</a></li> <li><a href="{% url 'page-devs' %}" title="Active developers">Developer Profiles</a></li> |