fix clickable links on instance homepage

This commit is contained in:
metalune 2021-07-31 12:46:57 +02:00
parent f4bdebb9f5
commit 0100f9bff6
4 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
<div id="wrap"> <div id="wrap">
{% for video in videos.data %} {% for video in videos.data %}
<div class="result-wrapper"> <div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}"> <a href="/{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/> <img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a> </a>

View file

@ -8,7 +8,7 @@
<div id="wrap"> <div id="wrap">
{% for video in videos.data %} {% for video in videos.data %}
<div class="result-wrapper"> <div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}"> <a href="/{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/> <img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a> </a>

View file

@ -8,7 +8,7 @@
<div id="wrap"> <div id="wrap">
{% for video in videos.data %} {% for video in videos.data %}
<div class="result-wrapper"> <div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}"> <a href="/{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/> <img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a> </a>

View file

@ -8,7 +8,7 @@
<div id="wrap"> <div id="wrap">
{% for video in videos.data %} {% for video in videos.data %}
<div class="result-wrapper"> <div class="result-wrapper">
<a href="https://{{ domain }}/videos/watch/{{ video.uuid }}"> <a href="/{{ domain }}/videos/watch/{{ video.uuid }}">
<img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/> <img src="https://{{ domain }}{{ video.thumbnailPath }}" height="150"/>
</a> </a>