basic image HTML rendering. Current tests pass!

This commit is contained in:
Nick Pegg 2025-05-06 18:09:31 -07:00
parent bc33331dae
commit 9434eb835d
6 changed files with 156 additions and 113 deletions

View file

@ -17,7 +17,7 @@
{% block content %}
<div id="photo">
<img src="{{image_path.screen_path}}" />
<img src="{{image.screen_path}}" />
</div>
<div id="nav">
@ -43,12 +43,12 @@
</div>
<div id="photo-description" class="caption">
{% if image_path.description %}
{{ image_path.description | safe }}
{% if image.description %}
{{ image.description | safe }}
{% endif %}
</div>
<div id="download">
<a href="../{{image_path.path.name}}">view full size</a>
<a href="../{{image.filename}}">view full size</a>
</div>
{% endblock %}