1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 14:00:00 +00:00

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

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">