Commit 1a4db40b authored by Simon Daron's avatar Simon Daron Committed by fred
Browse files

search: add labels next to facets

parent bbc6adcd
......@@ -12,6 +12,7 @@
<nav class="mainSub">
{% if facets.fields.categories %}
<ul class="custom padded">
<li><span class="mainLabel">Genre:</span></li>
{# Provide only the top 5 categories #}
{% for category in facets.fields.categories|slice:":5" %}
<li>
......@@ -30,6 +31,7 @@
<nav>
{% if facets.fields.tags %}
<ul class="tag-facets custom padded">
<li><span class="mainLabel">Mots clés:</span></li>
{# Provide only the top 5 tags #}
{% for tag in facets.fields.tags|slice:":20" %}
<li>
......
Markdown is supported
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