diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 20:31:51 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 20:31:51 +0200 |
commit | 6c062862513dcaeebeb497ba1c61ea83e3a9e50b (patch) | |
tree | 1a9e583f8de59ea5293dfd02b781d38b868bed2f /searx/templates/oscar/result_templates | |
parent | 2c6531b2330a5c8ca986379dbad8812a6c6d3e49 (diff) | |
download | searxng-6c062862513dcaeebeb497ba1c61ea83e3a9e50b.tar.gz searxng-6c062862513dcaeebeb497ba1c61ea83e3a9e50b.zip |
[enh] add length and author details to youtube videos
closes #775
Diffstat (limited to 'searx/templates/oscar/result_templates')
-rw-r--r-- | searx/templates/oscar/result_templates/videos.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 3c1913d9d..51ed5a025 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -16,6 +16,8 @@ <div class="container-fluid"> <div class="row"> <a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><img class="thumbnail col-xs-6 col-sm-4 col-md-4 result-content" src="{{ image_proxify(result.thumbnail) }}" alt="{{ result.title|striptags }} {{ result.engine }}" /></a> + {% if result.author %}<p class="col-xs-12 col-sm-8 col-md-8 result-content"><b>{{ _('Author') }}</b>: {{ result.author }}</p>{% endif %} + {% if result.length %}<p class="col-xs-12 col-sm-8 col-md-8 result-content"><b>{{ _('Length') }}</b>: {{ result.length }}</p>{% endif %} {% if result.content %}<p class="col-xs-12 col-sm-8 col-md-8 result-content">{{ result.content|safe }}</p>{% endif %} </div> </div> |