Changeset - a0dbdb8637f7
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2015-03-04 23:48:18
bkuhn@ebb.org
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.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/base_blog.html
Show inline comments
...
 
@@ -24,13 +24,13 @@
 
(<a href="/feeds/blog/?tag={{ tag.slug }}">rss</a>)</li>
 
{% endfor %}
 
</ul>
 
{% if all_year_list %}
 
<h2>Blog Index by Year</h2>
 
<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>
 
{% endif %}
 

	
 
<h2><a href="/blog/">See all posts&hellip;</a></h2>
 
<!-- <p><a href="/blog/query/">Query...</a></p> -->
 
         </div>
0 comments (0 inline, 0 general)