Kumi
232a1504fb
- 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.
33 lines
1 KiB
HTML
33 lines
1 KiB
HTML
{% extends "base.html" %} {% block content %}
|
|
<center>
|
|
<h1>{{ title }}</h1>
|
|
<span><a href="{{ path }}/">Featured</a></span>
|
|
<span><a href="{{ path }}/recent/">Recent</a></span>
|
|
<span><a href="{{ path }}/popular/">Popular</a></span>
|
|
<span><a href="{{ path }}/views/">Views</a></span>
|
|
<span><a href="{{ path }}/winners/">Winners</a></span>
|
|
<br />
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
{% for ible in ibles %}
|
|
<div class="ible-list-item col-xs-12 col-sm-6 col-lg-4">
|
|
<a href="{{ ible.link }}" style="color: #bbc2cf">
|
|
<img
|
|
style="max-width: 350px"
|
|
src="{{ ible.img }}"
|
|
alt="{{ ible.title }}"
|
|
/>
|
|
<p>{{ ible.title }}</p>
|
|
</a>
|
|
<p>
|
|
by <a href="{{ ible.author_link }}">{{ ible.author }}</a> in
|
|
<a href="{{ ible.channel_link }}">{{ ible.channel }}</a>
|
|
</p>
|
|
<p>{{ ible.views }} Views, {{ ible.favorites }} Favorites</p>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</center>
|
|
{% endblock %}
|