X-Git-Url: https://git.decadent.org.uk/gitweb/?p=memories.git;a=blobdiff_plain;f=templates%2Ftag%2Flist;fp=templates%2Ftag%2Flist;h=fea4e0d1d4a90b63d228571eb19c55ac8d70f990;hp=1a9706f84146b8c94c8b62209379e1837403b166;hb=1192b9685b24a943cb882e42dac512da19321340;hpb=f47e6702b33e9e1e6d1ef00a690ef37edb8bbb2d diff --git a/templates/tag/list b/templates/tag/list index 1a9706f..fea4e0d 100644 --- a/templates/tag/list +++ b/templates/tag/list @@ -10,7 +10,7 @@ - [% SET photos = tag.photos %] + [% IF tag.photos.isa("Memories::Photo"); SET photos = [ tag.photos ]; ELSE; SET photos = tag.photos; END %] [% IF photos.last %]
[% tag %]