From c5485ea9f8201ba4c7542db47e3c0a0e0dc9b354 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 18 Jun 2017 16:15:07 +0200 Subject: [PATCH] blog: Only show sources in full view --- blog.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blog.php b/blog.php index 56bd85f..7b6083c 100644 --- a/blog.php +++ b/blog.php @@ -117,10 +117,12 @@ } function renderFooter() { + global $CMS_SINGLE_POST; global $counters; global $meta; $i = 1; - if ($counters['sources'] > 1) { + $renderExt = isset($CMS_SINGLE_POST) && $CMS_SINGLE_POST; + if ($renderExt && $counters['sources'] > 1) { echo '

Sources:
'; foreach ($meta['sources'] as $v) { echo '    [' . $i++ . ']: ' . $v . '
';