X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=templates%2Fphoto%2Fexif;fp=templates%2Fphoto%2Fexif;h=b60ddbcde610288ff25dea75cdeb38f2e76601c8;hb=b9d021d4af1018ac2c60640678c1b790251190e9;hp=0000000000000000000000000000000000000000;hpb=619ab99c593a8fe9adc50834d27d25b5fa24f4e3;p=memories.git diff --git a/templates/photo/exif b/templates/photo/exif new file mode 100644 index 0000000..b60ddbc --- /dev/null +++ b/templates/photo/exif @@ -0,0 +1,16 @@ +[% SET exif = photo.exif_info %] +[% FOR group = exif.keys %] + [% SET counter = 0 %] +

[% group %]

+ + [% FOR key = exif.$group.keys %] + + [% IF counter % 2 == 0 %] [% END %] + + + [% IF counter % 2 == 1 %] + [% ELSE %] [% END %] + [% SET counter = counter + 1 %] + [% END %] +
[% key %] [% exif.$group.$key %]
 
+[% END %]