cover opens gallery
This commit is contained in:
parent
02e6b30a1f
commit
1f917114da
@ -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,
|
||||||
|
@ -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">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user