cover opens gallery

This commit is contained in:
nebula 2025-04-02 03:07:43 +00:00
parent 02e6b30a1f
commit 1f917114da
2 changed files with 3 additions and 2 deletions

View File

@ -115,6 +115,7 @@ def render_places():
f.write(template.render({
"count": count,
"placename": placename,
"cover": info["cover"],
"info": info,
"markdown": md,
"photos": photo_specs,

View File

@ -29,8 +29,8 @@
<span class="locationState">{{ info['state'] }}</span>
</div>
<div class="headerImageContainer">
<a target="_blank" href="{{ info['cover'] }}">
<img id="headerImage" class="headerImage" src="/cover/cover_{{ info['cover'] }}">
<a target="_blank" href="{{ cover }}", onclick="javascript:enlargeImage('{{ cover }}');return false;">
<img id="headerImage" class="headerImage" src="/cover/cover_{{ cover }}">
</a>
</div>
<div class="postBody">