20 lines
614 B
Plaintext
Executable File
20 lines
614 B
Plaintext
Executable File
extends includes/layout.pug
|
|
|
|
include includes/video-list-item.pug
|
|
include includes/toasts
|
|
|
|
block head
|
|
title= `${query} (search) - EirTube`
|
|
- if (settings.dearrow > 0 && settings.dearrow_preload == 0)
|
|
script const dearrow_thumbnail_instance = "!{settings.dearrow_thumbnail_instance}"
|
|
script(video-class="search-result" src=getStaticURL("html", "/static/js/dearrow-load.js"))
|
|
|
|
block content
|
|
main.search-page
|
|
each result in results
|
|
+video_list_item("search-result", result, { settings: settings })
|
|
|
|
#toast-container
|
|
each toast in toasts
|
|
+toast(toast.color, toast.icon, toast.text)
|