summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xikiwiki3
1 files changed, 2 insertions, 1 deletions
diff --git a/ikiwiki b/ikiwiki
index 9aaeed86c..c57c2e507 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -220,7 +220,8 @@ sub linkbacks ($$) {
}
}
- $content.="<hr><p>Links: ".join(" ", sort @links)."</p>\n";
+ $content.="<hr><p>Links: ".join(" ", sort @links)."</p>\n" if @links;
+ return $content;
}
sub finalize ($$) {