SEO
This commit is contained in:
parent
57dd8d6a2f
commit
ae8c53b278
2
app.py
2
app.py
@ -34,7 +34,7 @@ def colorify(model):
|
|||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def home():
|
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')
|
@app.route('/search')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %} - Admin Edit {{ link.name }}{% endblock %}
|
{% block title %}Admin Edit for "{{ link.name }}"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<form method="post" action="{{ url_for('admin_save') }}">
|
<form method="post" action="{{ url_for('admin_save') }}">
|
||||||
{{ edit_form.csrf_token }}
|
{{ edit_form.csrf_token }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %} - Admin List{% endblock %}
|
{% block title %}Admin List{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<p id="quick_scroll">
|
<p id="quick_scroll">
|
||||||
Quick Scroll :
|
Quick Scroll :
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %} - Latest torrents{% endblock %}
|
{% block title %}Latest torrents{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
|
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<meta name="description" content="Xefir's animes search engine (っ^‿^)っ">
|
<meta name="description" content="Xefir's animes search engine (っ^‿^)っ">
|
||||||
<title>𝛑 =^._.^= た{% block title %}{% endblock %}</title>
|
<title>PyNyaaTa - {% block title %}{% endblock %}</title>
|
||||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicons/favicon.ico') }}">
|
<link rel="shortcut icon" href="{{ url_for('static', filename='favicons/favicon.ico') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma.min.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bulma-tooltip.min.css') }}">
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
|
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
|
||||||
<div class="navbar-start">
|
<div class="navbar-start">
|
||||||
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Home" href="{{ url_for('home') }}">
|
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Home" href="{{ url_for('home') }}">
|
||||||
𝛑 =^._.^= た
|
𝛑 😼 た
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Latest torrents" href="{{ url_for('latest') }}">
|
<a class="navbar-item tooltip has-tooltip-bottom" data-tooltip="Latest torrents" href="{{ url_for('latest') }}">
|
||||||
<i class="fa fa-newspaper-o"></i><i> </i><span class="is-hidden-mobile">Latest torrents</span>
|
<i class="fa fa-newspaper-o"></i><i> </i><span class="is-hidden-mobile">Latest torrents</span>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %} - My seeded torrents{% endblock %}
|
{% block title %}My seeded torrents{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
|
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "layout.html" %}
|
{% extends "layout.html" %}
|
||||||
{% block title %} - {{ request.args.get('q') }}{% endblock %}
|
{% block title %}Search for "{{ request.args.get('q') }}"{% endblock %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable">
|
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable">
|
||||||
<thead>
|
<thead>
|
||||||
|
Reference in New Issue
Block a user