added pictures/gallery. organized media better

This commit is contained in:
Parker TenBroeck 2026-01-20 19:22:57 -05:00
parent b0d420c311
commit 4886fa19c9
65 changed files with 318 additions and 112 deletions

16
templates/gallery.html Normal file
View file

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block main %}
<br><br>
<div class="gallery">
{% for page in section.pages -%}
{% set image = resize_image(path=page.extra.picture_src, width=260*2, height=180*2, op="fit_width") %}
<a href="{{ page.permalink }}">
<img src="{{ image.url }}" />
</a>
{%- endfor %}
</div>
{% endblock main %}