Commit 8657e6b1 authored by fred's avatar fred
Browse files

perfomance: create template tag for metanav template

parent 1af0138c
......@@ -32,3 +32,7 @@ def emission_detail(context, date=None):
@register.inclusion_tag('includes/player.html', takes_context=False)
def player():
return {'unique': uuid.uuid4()}
@register.inclusion_tag('includes/metaNav.html', takes_context=False)
def metanav():
return {}
......@@ -23,7 +23,7 @@
<body id="{% block bodyID %}{% endblock %}">
{% block meta %}<div id="metaNav">{% include "includes/metaNav.html" %}</div>{% endblock %}
{% block meta %}<div id="metaNav">{% metanav %}</div>{% endblock %}
<div id="Commons">
<div id="Panik" class="center">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment