Move static routes into a blueprint

and update templates

Routes:
* /help
* /rules
* /xmlns/nyaa
* /about (commented out)
This commit is contained in:
Kfir Hadas
2017-07-11 00:13:19 +03:00
parent 7e16616a5d
commit 911fbc317f
6 changed files with 45 additions and 29 deletions

View File

@@ -191,7 +191,7 @@
<div class="modal-body">
<div class="alert alert-warning" role="alert">
Before submitting a report, please check that the torrent
actually breaks <a href="{{ url_for('site_rules') }}">the
actually breaks <a href="{{ url_for('site.rules') }}">the
rules</a>. Useless reports like "download is slow" or
"thanks" can get you banned from the site.
</div>