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({ f.write(template.render({
"count": count, "count": count,
"placename": placename, "placename": placename,
"cover": info["cover"],
"info": info, "info": info,
"markdown": md, "markdown": md,
"photos": photo_specs, "photos": photo_specs,

View File

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