Include search terms in page title

Fixes #25
This commit is contained in:
TheAMM 2017-05-17 11:27:54 +03:00
parent 291789445c
commit 8d66d6c82d
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{% extends "layout.html" %}
{% block title %}Browse :: {{ config.SITE_NAME }}{% endblock %}
{% block title %}{% if search.term %}{{ search.term | e}}{% else %}Browse{% endif %} :: {{ config.SITE_NAME }}{% endblock %}
{% block body %}
<div class="alert alert-info">