Absolute URL back to /blog for year.
<tmarble> if you go to http://aspen.sfconservancy.org/blog/ <tmarble> then you click on 2014 in leftnav [15:46] <tmarble> you get the new leftnav <tmarble> BUT the URLS are borked <tmarble> http://aspen.sfconservancy.org/blog/2014/2015/ <tmarble> http://aspen.sfconservancy.org/blog/2014/2014/ <tmarble> etc.
This commit is contained in:
parent
fb16e1127d
commit
a0dbdb8637
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
{% if all_year_list %}
|
{% if all_year_list %}
|
||||||
<h2>Blog Index by Year</h2>
|
<h2>Blog Index by Year</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for year in all_year_list reversed %}<li><a href="{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %}
|
{% for year in all_year_list reversed %}<li><a href="/blog/{{ year|date:"Y" }}/">{{ year|date:"Y" }}</a></li>{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue