Permalink
Browse files

fix code list template title

  • Loading branch information...
1 parent 2242fe8 commit ae08f5648c6b37be8e8baeaac567dde4b478d8fc @ryanpitts ryanpitts committed Oct 28, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −1 source/code/templates/code/code_list.html
  2. +0 −1 source/code/views.py
@@ -1,6 +1,6 @@
{% extends "code/_base_code.html" %}
-{% block page_title %}{% if tags %}Entries tagged: {% for tag in tags %}{{ tag.name }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %} - {{ super() }}{% endblock %}
+{% block page_title %}{% if tags %}Entries tagged: {% for tag in tags %}{{ tag.name }}{% if not loop.last %}, {% endif %}{% endfor %} - {% endif %}{{ super() }}{% endblock %}
{% block content %}
<h1 class="maintopic"><a href="{{ url('code_list') }}">Code</a>{% if tag %} / <span class="category">{{ tag.name }}</span>{% endif %}</h1>
View
@@ -35,7 +35,6 @@ def get_context_data(self, **kwargs):
context['active_nav'] = 'Code'
if self.tags:
- pass
context['tags'] = self.tags
context['rss_link'] = reverse('code_list_by_tag_feed', kwargs={'tag_slugs': self.tag_slugs})
context['json_link'] = reverse('code_list_by_tag_feed_json', kwargs={'tag_slugs': self.tag_slugs})

0 comments on commit ae08f56

Please sign in to comment.