Kumi
9dd8f4e2e0
Extended environment variables to allow for greater configurability and aligned debug mode detection with the new STRUCTABLES_DEBUG variable. Additionally, introduced command-line arguments for specifying Invidious instance URLs and unsafe iframe display settings. The content fetching logic has been revised for fetching JSON data directly instead of scraping HTML, resulting in a more robust and efficient data extraction process. New templates accommodate the change and present a cleaner UI, including handling of iframes, downloads, and proper proxying of external resources. HTML templates have been refactored to utilize better layout and styling while enhancing support for iframes and downloads, complete with the new ability to block iframe content from outside sources unless explicitly permitted. This security-focused feature protects end-users from potentially unsafe content.
34 lines
1 KiB
HTML
34 lines
1 KiB
HTML
{% extends "base.html" %} {% block content %}
|
|
<div class="container text-center">
|
|
<h1>{{ title }}</h1>
|
|
<p>
|
|
by <a href="{{ author_link }}">{{ author }}</a> in
|
|
<a href="{{ category_link }}">{{ category }}</a> >
|
|
<a href="{{ channel_link }}">{{ channel }}</a>
|
|
</p>
|
|
<p>{{ views }} Views, {{ favorites }} Favorites</p>
|
|
|
|
<div class="row justify-content-center">
|
|
{% for thumbnail in thumbnails %}
|
|
<div class="col-md-4 mb-3">
|
|
<div class="ible-list-item">
|
|
<a href="{{ thumbnail.link }}" style="color: #bbc2cf">
|
|
<img
|
|
class="img-fluid"
|
|
src="{{ thumbnail.img }}"
|
|
alt="{{ thumbnail.title }}"
|
|
style="max-width: 350px"
|
|
/>
|
|
<p>{{ thumbnail.author }}</p>
|
|
</a>
|
|
<p>
|
|
by <a href="{{ thumbnail.author_link }}">{{ thumbnail.author }}</a> in
|
|
<a href="{{ thumbnail.channel_link }}">{{ thumbnail.channel }}</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|