summaryrefslogtreecommitdiffstats
path: root/templates/photo_index.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/photo_index.tpl')
-rw-r--r--templates/photo_index.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index ee11a4f..8111b1b 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -21,7 +21,9 @@
{/if}
</td>
<td class="index_header" style="text-align: right;">
- <a href="{$extern_link}">Extern</a>
+ {if $extern_link }
+ <a href="{$extern_link}">Extern</a>
+ {/if}
<img src="resources/photo_index.png" alt="photo index" />
</td>
</tr>