Move '/' and '/rss' routes into 'main' blueprint

and update templates.
This commit is contained in:
Kfir Hadas
2017-07-11 00:44:10 +03:00
parent f3b923ccca
commit eccb0ebdff
7 changed files with 177 additions and 168 deletions

View File

@@ -19,7 +19,7 @@
<div class="row">
<div class="col-md-1">Category:</div>
<div class="col-md-5">
<a href="{{ url_for('home', c=torrent.main_category.id_as_string) }}">{{ torrent.main_category.name }}</a> - <a href="{{ url_for('home', c=torrent.sub_category.id_as_string) }}">{{ torrent.sub_category.name }}</a>
<a href="{{ url_for('main.home', c=torrent.main_category.id_as_string) }}">{{ torrent.main_category.name }}</a> - <a href="{{ url_for('main.home', c=torrent.sub_category.id_as_string) }}">{{ torrent.sub_category.name }}</a>
</div>
<div class="col-md-1">Date:</div>