From ae8c53b2783b35897f8a2d27eab7404d86688d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Thu, 12 Dec 2019 14:37:56 +0100 Subject: [PATCH] SEO --- app.py | 2 +- templates/admin/edit.html | 2 +- templates/admin/list.html | 2 +- templates/latest.html | 2 +- templates/layout.html | 4 ++-- templates/list.html | 2 +- templates/search.html | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app.py b/app.py index bf25174..f3a7a89 100644 --- a/app.py +++ b/app.py @@ -34,7 +34,7 @@ def colorify(model): @app.route('/') def home(): - return render_template('layout.html', search_form=SearchForm()) + return render_template('layout.html', search_form=SearchForm(), title='Animes torrents search engine') @app.route('/search') diff --git a/templates/admin/edit.html b/templates/admin/edit.html index d6b6914..0333253 100644 --- a/templates/admin/edit.html +++ b/templates/admin/edit.html @@ -1,5 +1,5 @@ {% extends "layout.html" %} -{% block title %} - Admin Edit {{ link.name }}{% endblock %} +{% block title %}Admin Edit for "{{ link.name }}"{% endblock %} {% block body %}
{{ edit_form.csrf_token }} diff --git a/templates/admin/list.html b/templates/admin/list.html index 501d978..60fc2e8 100644 --- a/templates/admin/list.html +++ b/templates/admin/list.html @@ -1,5 +1,5 @@ {% extends "layout.html" %} -{% block title %} - Admin List{% endblock %} +{% block title %}Admin List{% endblock %} {% block body %}

Quick Scroll : diff --git a/templates/latest.html b/templates/latest.html index 3ce1135..5bad855 100644 --- a/templates/latest.html +++ b/templates/latest.html @@ -1,5 +1,5 @@ {% extends "layout.html" %} -{% block title %} - Latest torrents{% endblock %} +{% block title %}Latest torrents{% endblock %} {% block body %} diff --git a/templates/layout.html b/templates/layout.html index 3e165c7..8439518 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -5,7 +5,7 @@ - 𝛑 =^._.^= た{% block title %}{% endblock %} + PyNyaaTa - {% block title %}{% endblock %} @@ -17,7 +17,7 @@
diff --git a/templates/search.html b/templates/search.html index ea04ccb..4beedcf 100644 --- a/templates/search.html +++ b/templates/search.html @@ -1,5 +1,5 @@ {% extends "layout.html" %} -{% block title %} - {{ request.args.get('q') }}{% endblock %} +{% block title %}Search for "{{ request.args.get('q') }}"{% endblock %} {% block body %}