structables/templates/index.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

33 lines
No EOL
923 B
HTML

{% extends "base.html" %}
{% block content %}
<center>
<h1>{{ title }}</h1>
{% for section in sections %}
<div class="container">
<div class="row">
<h3></strong><a href="{{ section[1] }}">{{ section[0] }}</a></h3>
</div>
<div class="row justify-content-center">
{% for ible in section[2] %}
<div class="ibles col-xs-12 col-sm-6 col-lg-4">
<a href="{{ ible.link }}">
<img style="max-width:19vw;" src="{{ ible.img }}" alt="{{ ible.alt }}">
<p>
<strong style="max-width:19vw;">{{ ible.title }}</strong>
</p>
</a>
<div class="ible-small">
<p>by <a href="{{ ible.author_link }}">{{ ible.author }}</a></p>
<p>in <a href="{{ ible.channel_link }}">{{ ible.channel }}</a></p>
<p>{{ ible.favorites }} Favorites, {{ ible.views }} Views</p>
</div>
</div>
{% endfor %}
</div>
</div>
<hr>
{% endfor %}
</center>
{% endblock %}