mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
9 lines
423 B
Smarty
9 lines
423 B
Smarty
|
<a href="{{$photo.link}}" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}">
|
||
|
{{if $photo.src}}
|
||
|
<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}}" id="photo-top-photo-{{$photo.id}}" />
|
||
|
{{else}}
|
||
|
<i class=""fa fa-fw fa-{{$icon}}"></i>
|
||
|
{{/if}}
|
||
|
</a>
|
||
|
|