initial commit

This commit is contained in:
Rupus Reinefjord 2018-01-11 23:40:31 +01:00
commit a528892ac8
46 changed files with 2152 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{% extends 'layout.html' %}
{% set active_page = 'photo' %}
{% set title = 'Photography' %}
{% block body %}
<main>
<h2>Photography</h2>
<div class="photo-grid">
{% for photo in photos %}
<a href="{{ url_for('view_photo', photo_id=photo.id) }}">
<img srcset="{{ photo_resize_url(photo, 200) }},
{{ photo_resize_url(photo, 300) }} 1.5x,
{{ photo_resize_url(photo, 400) }} 2x"
src="{{ photo_resize_url(photo, 200) }}">
</a>
{% endfor %}
</div>
</main>
{% endblock %}