mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
added pictures/gallery. organized media better
This commit is contained in:
parent
b0d420c311
commit
4886fa19c9
65 changed files with 318 additions and 112 deletions
16
templates/gallery.html
Normal file
16
templates/gallery.html
Normal 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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue