Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix links in the base template.

We can't use {% url %} because of the docs/www split.
  • Loading branch information...
commit 34cb3eb90000ed062b1d903c7b7784f9c0de9d79 1 parent 660d673
@jacobian jacobian authored
Showing with 33 additions and 35 deletions.
  1. +33 −35 django_website/templates/base.html
View
68 django_website/templates/base.html
@@ -15,41 +15,39 @@
<link href="{{ MEDIA_URL }}css/print.css" rel="stylesheet" type="text/css" media="print" />
{% block extrahead %}{% endblock %}
</head>
-
<body id="{% block sectionid %}generic{% endblock %}" class="{% block coltype %}default{% endblock %}">
-
- <div id="container">
- <div id="header">
- <h1 id="logo"><a href="{% url homepage %}"><img src="{{ MEDIA_URL }}img/site/hdr_logo.gif" alt="Django" /></a></h1>
- <ul id="nav-global">
- <li id="nav-homepage"><a href="{% url homepage %}">Home</a></li>
- <li id="nav-download"><a href="{% url download %}">Download</a></li>
- <li id="nav-documentation"><a href="http://docs.djangoproject.com/">Documentation</a></li>
- <li id="nav-weblog"><a href="{% url blog-index %}">Weblog</a></li>
- <li id="nav-community"><a href="{% url community-index %}">Community</a></li>
- <li id="nav-code"><a href="http://code.djangoproject.com/">Code</a></li>
- </ul>
- </div>
- <!-- END Header -->
- <div id="billboard">{% block billboard %}{% endblock %}</div>
- <div id="columnwrap">
- {% block columnwrap %}
- <div id="content-main">
- {% block content %}{% endblock %}
- </div>
- <!-- END #content-main -->
- {% endblock %}
- </div>
- <!-- END #content -->
- <div id="footer">
- <p>&copy; 2005-{% now "Y" %} <a href="http://www.djangoproject.com/foundation/">Django Software Foundation</a> unless otherwise noted. Django is a registered trademark of the Django Software Foundation.
- Hosting graciously provided by <a href="http://mediatemple.net/">
- <img style="vertical-align: middle; position: relative; top: -1px;" src="{{ MEDIA_URL }}img/site/mt.png" alt="media temple" /></a>
- </p>
- </div>
- <!-- END #footer -->
- </div>
- <!-- END #container -->
- </body>
+ <div id="container">
+ <div id="header">
+ <h1 id="logo"><a href="http://www.djangoproject.com/"><img src="{{ MEDIA_URL }}img/site/hdr_logo.gif" alt="Django" /></a></h1>
+ <ul id="nav-global">
+ <li id="nav-homepage"><a href="http://www.djangoproject.com/">Home</a></li>
+ <li id="nav-download"><a href="http://www.djangoproject.com/download/">Download</a></li>
+ <li id="nav-documentation"><a href="http://docs.djangoproject.com/">Documentation</a></li>
+ <li id="nav-weblog"><a href="http://www.djangoproject.com/weblog/">Weblog</a></li>
+ <li id="nav-community"><a href="http://www.djangoproject.com/community/">Community</a></li>
+ <li id="nav-code"><a href="http://code.djangoproject.com/">Code</a></li>
+ </ul>
+ </div>
+ <!-- END Header -->
+ <div id="billboard">{% block billboard %}{% endblock %}</div>
+ <div id="columnwrap">
+ {% block columnwrap %}
+ <div id="content-main">
+ {% block content %}{% endblock %}
+ </div>
+ <!-- END #content-main -->
+ {% endblock %}
+ </div>
+ <!-- END #content -->
+ <div id="footer">
+ <p>&copy; 2005-{% now "Y" %} <a href="http://www.djangoproject.com/foundation/">Django Software Foundation</a> unless otherwise noted. Django is a registered trademark of the Django Software Foundation.
+ Hosting graciously provided by <a href="http://mediatemple.net/">
+ <img style="vertical-align: middle; position: relative; top: -1px;" src="{{ MEDIA_URL }}img/site/mt.png" alt="media temple" /></a>
+ </p>
+ </div>
+ <!-- END #footer -->
+ </div>
+ <!-- END #container -->
+ </body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.