structables/templates/collection.html
Kumi 232a1504fb
Update .gitignore and enhance project structure
- Add 'privacy.txt' to .gitignore to prevent checking it in
- Refactor data storage from arrays to dictionaries for better data handling in 'main.py'
- Include 'pathlib' import for handling filesystem paths
- Introduce new CSS and Bootstrap files providing updated styles and responsive design elements
- Modify HTML templates to use updated data structures and enhance accessibility

These changes improve code readability, maintain project consistency, and enhance the front-end presentation. This work is part of ongoing efforts to better manage project data, secure sensitive information, and provide a more robust user interface.
2024-01-17 16:43:51 +01:00

28 lines
No EOL
907 B
HTML

{% extends "base.html" %}
{% block content %}
<center>
<h1>{{ title }}</h1>
<p>by <a href="{{ author_link }}">{{ author }}</a> in <a href="{{ category_link }}">{{ category }}</a> &gt; <a
href="{{ channel_link }}">{{ channel }}</a></p>
<p>{{ views }} Views, {{ favorites }} Favorites</p>
<div style="max-width:90%;">
{% for thumbnail in thumbnails %}
<div class="ible-list-item">
{% if thumbnail.title == '' %}
<a href="{{ thumbnail.link }}" style="color:#bbc2cf;">
<img style="max-width:350px;" src="{{ thumbnail.img }}" alt="{{ thumbnail.author }}">
<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>
{% else %}
{{ thumbnail.text|safe }}
{% endif %}
</div>
{% endfor %}
</div>
</center>
{% endblock %}