{{* Template for singele photo view *}} {{* "live-photos" is needed for js autoupdate *}}
{{* The photo *}}
{{$photo.filename}}
{{* Overlay buttons for previous and next photo *}} {{if $prevlink}} {{/if}} {{if $nextlink}} {{/if}}
{{* The photo description *}}
{{$desc nofilter}}
{{* Tags and mentions *}} {{if $tags}}
{{$tags.title}} {{foreach $tags.tags as $t}} {{$t.name}} {{if $t.removeurl}} (X) {{/if}} {{/foreach}}
{{/if}} {{if $tags.removeanyurl}} {{/if}} {{* The part for editing the photo - only available for the edit subpage *}} {{if $edit}}{{$edit nofilter}}{{/if}} {{if $likebuttons}}
{{$likebuttons nofilter}} {{$like nofilter}} {{$dislike nofilter}}
{{/if}}
{{if !$edit}} {{* Insert the comments *}}
{{$comments nofilter}}
{{$paginate nofilter}} {{/if}}