Browse files

code list page titles for tag intersections

  • Loading branch information...
1 parent ae08f56 commit 957879e2b1d668d3bdf76b28635f1c87581da12e @ryanpitts ryanpitts committed Oct 28, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −1 source/code/templates/code/_base_code.html
  2. +0 −2 source/code/templates/code/code_list.html
View
2 source/code/templates/code/_base_code.html
@@ -1,3 +1,3 @@
{% extends "base.html" %}
{% set active_nav = "code" %}
-{% block page_title %}Code Index - {{ super() }}{% endblock %}
+{% block page_title %}Code Index{% if tags %} entries tagged: {% for tag in tags %}{{ tag.name }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %} - {{ super() }}{% endblock %}
View
2 source/code/templates/code/code_list.html
@@ -1,7 +1,5 @@
{% 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 content %}
<h1 class="maintopic"><a href="{{ url('code_list') }}">Code</a>{% if tag %} / <span class="category">{{ tag.name }}</span>{% endif %}</h1>

0 comments on commit 957879e

Please sign in to comment.