2024-05-22 16:21:40 +00:00
|
|
|
{% extends "base.html" %} {% block content %}
|
2024-01-31 18:22:58 +00:00
|
|
|
<div class="container">
|
|
|
|
<h1 class="text-center">{{ title }}</h1>
|
|
|
|
<div class="row">
|
|
|
|
{% for channel in channels %}
|
|
|
|
<div class="col-6 col-md-4 col-lg-3 text-center mb-3">
|
2024-05-22 16:21:40 +00:00
|
|
|
<a
|
|
|
|
href="/{{ channel }}"
|
|
|
|
class="btn btn-primary d-block position-relative"
|
|
|
|
>
|
2024-01-31 18:22:58 +00:00
|
|
|
{{ channel }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2 class="text-center">
|
|
|
|
<a href="{{ path }}projects/">Featured Projects</a>
|
|
|
|
</h2>
|
|
|
|
<div class="row">
|
|
|
|
{% for ible in ibles %}
|
2024-05-22 16:21:40 +00:00
|
|
|
<div class="col-xs-12 col-sm-6 col-lg-4 mb-4">
|
|
|
|
<div class="card h-100 d-flex flex-column">
|
|
|
|
<a href="{{ ible.link }}">
|
2024-01-31 18:22:58 +00:00
|
|
|
<img
|
|
|
|
class="card-img-top"
|
2024-05-22 16:21:40 +00:00
|
|
|
src="{{ ible.img }}"
|
|
|
|
alt="{{ ible.alt }}"
|
|
|
|
style="max-width: 100%"
|
2024-01-31 18:22:58 +00:00
|
|
|
/>
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">{{ ible.title }}</h5>
|
|
|
|
</div>
|
|
|
|
</a>
|
2024-05-22 16:21:40 +00:00
|
|
|
<div class="card-footer mt-auto">
|
|
|
|
<p class="card-text">
|
|
|
|
by <a href="{{ ible.author_link }}">{{ ible.author }}</a>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
in <a href="{{ ible.channel_link }}">{{ ible.channel }}</a>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
{{ ible.favorites }} Favorites, {{ ible.views }} Views
|
|
|
|
</p>
|
|
|
|
</div>
|
2024-01-31 18:22:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Doesn't seem to be current
|
|
|
|
<h2 class="text-center"><a href="/contest/">Contests</a></h2>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
{% for contest in contests %}
|
|
|
|
<a href="{{ contest.link }}">
|
|
|
|
<img
|
|
|
|
src="{{ contest.img }}"
|
|
|
|
alt="{{ contest.title }}"
|
|
|
|
class="img-fluid"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
-->
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|