diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/default.xml | 2 | ||||
| -rw-r--r-- | templates/template_picture.html | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/default.xml b/templates/default.xml index 83a1c1a..826133a 100644 --- a/templates/default.xml +++ b/templates/default.xml @@ -99,6 +99,8 @@ <!-- image border style, overriden by <border style> tags from the album source file --> <define name="BORDER_STYLE" value="border_single" /> + <!-- show EXIF table in single photo view (comment out to hide it) --> + <define name="SHOW_EXIF_TABLE" /> </theme> <!-- Here you can define another theme, with different templates etc. diff --git a/templates/template_picture.html b/templates/template_picture.html index d9b72b2..bce658e 100644 --- a/templates/template_picture.html +++ b/templates/template_picture.html @@ -41,7 +41,7 @@ <!-- $(END_IMG_FULLSIZE_LINK) --> </div> - <!-- $(BEGIN_EXIF_TABLE) --> + <!-- $(ifdef(SHOW_EXIF_TABLE)) --> <!-- ## EXIF --> <div class="exif"> <div id="exif_table" style="display: none;"> @@ -60,7 +60,7 @@ :: <a href="javascript: set_exif_table_visibility('yes'); write_exif_table_cookie('yes');">Show EXIF</a> </div> </div> - <!-- $(END_EXIF_TABLE) --> + <!-- $(endif(SHOW_EXIF_TABLE)) --> <!-- ## Footnote, also acts as a bottom border --> <div class="footnote"> |
