provide routes for url_for
This commit is contained in:
parent
9e6b431091
commit
27fd0b9015
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
|||
|
||||
<div>
|
||||
{% for thumbnail in thumbnails %}
|
||||
<a href="{{ url_for('video', filename=thumbnail[:-4]) }}">
|
||||
<img src="{{ url_for('thumb', filename=thumbnail) }}" alt="Thumbnail">
|
||||
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}">
|
||||
<img src="{{ url_for('thumb_route', file_name=thumbnail) }}" alt="Thumbnail">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue