Commits

Chris Chambers committed a12a130

Changed base template urls to use the absolute url rather than the relative one to fix mango not running at root URL

Comments (0)

Files changed (2)

templates/archives.dhtml

 						<h2>{{ month|month }} {{ year }}</h2>
 						<ol>
 					{% for post in these_posts %}
-							<li><a href="{{ post.canon_urls.rel }}"><time datetime="{{ post.meta.datetime|datetime }}">{{ post.meta.datetime|display_date }}</time> {{ post.meta.title }}</a></li>
+							<li><a href="{{ post.canon_urls.abs }}"><time datetime="{{ post.meta.datetime|datetime }}">{{ post.meta.datetime|display_date }}</time> {{ post.meta.title }}</a></li>
 					{% endfor %}
 						</ol>
 					</li>

templates/excerpt.dhtml

 {% load mango_extras %}
 			<article>
 				<header>
-					<h2><a href="{{ post.canon_urls.rel }}">{{ post.meta.title|safe }}</a></h2>
+					<h2><a href="{{ post.canon_urls.abs }}">{{ post.meta.title|safe }}</a></h2>
 					<time datetime="{{ post.meta.datetime|datetime }}">{{ post.meta.datetime|display_date }}</time>
 				</header>
 				{{ post.excerpt|safe }}