structables/templates/index.html

33 lines
923 B
HTML
Raw Normal View History

{% extends "base.html" %}
2023-06-01 21:25:13 +00:00
{% block content %}
2023-06-01 21:25:13 +00:00
<center>
<h1>{{ title }}</h1>
2023-06-01 21:25:13 +00:00
{% for section in sections %}
<div class="container">
<div class="row">
<h3></strong><a href="{{ section[1] }}">{{ section[0] }}</a></h3>
2023-06-01 21:25:13 +00:00
</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 %}
2023-06-01 21:25:13 +00:00
</div>
</div>
<hr>
2023-06-01 21:25:13 +00:00
{% endfor %}
</center>
{% endblock %}