style the photo album page of the vier theme
This commit is contained in:
parent
dd36b2bded
commit
ec4e60ce3a
2 changed files with 28 additions and 5 deletions
|
@ -9,9 +9,9 @@
|
|||
{{/if}}
|
||||
|
||||
{{foreach $photos as $photo}}
|
||||
<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}">
|
||||
<a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$photo.title}}">
|
||||
<img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" />
|
||||
<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$photo.id}}">
|
||||
<a href="{{$photo.link}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$photo.id}}" title="{{$photo.title}}">
|
||||
<img src="{{$photo.src}}" alt="{{if $photo.album.name}}{{$photo.album.name}}{{elseif $photo.desc}}{{$photo.desc}}{{elseif $photo.alt}}{{$photo.alt}}{{else}}{{$photo.unknown}}{{/if}}" title="{{$photo.title}}" class="photo-album-photo lframe resize{{$photo.twist}}" id="photo-album-photo-{{$photo.id}}" />
|
||||
<p class='caption'>{{$photo.desc}}</p>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue