diff --git a/nyaa/templates/404.html b/nyaa/templates/404.html index f964daf..d3fe555 100644 --- a/nyaa/templates/404.html +++ b/nyaa/templates/404.html @@ -1,5 +1,8 @@ {% extends "layout.html" %} {% block title %}404 Not Found :: {{ config.SITE_NAME }}{% endblock %} +{% block metatags %} + +{% endblock %} {% block body %}

404 Not Found

The path you requested does not exist on this server.

diff --git a/nyaa/templates/home.html b/nyaa/templates/home.html index 3b46d2b..289716b 100644 --- a/nyaa/templates/home.html +++ b/nyaa/templates/home.html @@ -1,5 +1,12 @@ {% extends "layout.html" %} {% block title %}{% if search.term %}{{ search.term | e}}{% else %}Browse{% endif %} :: {{ config.SITE_NAME }}{% endblock %} +{% block metatags %} +{% if search.term %} + +{% else %} + +{% endif %} +{% endblock %} {% block body %} {% if search["term"] == '' %} diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index a81975a..e0184be 100755 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -11,6 +11,13 @@ + + + + {% block metatags %} + {# Filled by children #} + {% endblock %} +