Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove useless if around pattern variable

  • Loading branch information...
commit d3e0457e597d11d433b9a96ed8648ce449469d32 1 parent 5e5dd7a
@Fantomas42 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 zinnia/templates/zinnia/entry_search.html
View
4 zinnia/templates/zinnia/entry_search.html
@@ -1,9 +1,9 @@
{% extends "zinnia/entry_list.html" %}
{% load i18n zinnia_tags %}
-{% block title %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %}
+{% block title %}{% trans "Search results for" %} '{{ pattern }}'{% endblock %}
-{% block meta-description %}{% trans "Search results for" %} {% if pattern %}'{{ pattern }}'{% endif %}{% endblock %}
+{% block meta-description %}{% trans "Search results for" %} '{{ pattern }}'{% endblock %}
{% block link %}
{{ block.super }}
Please sign in to comment.
Something went wrong with that request. Please try again.