aboutsummaryrefslogtreecommitdiff
path: root/app/views/index/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/index/index.phtml')
-rw-r--r--app/views/index/index.phtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 7037b2405..1a07cdb46 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -66,7 +66,13 @@ if ($output == 'rss') {
<h1 class="title"><?php echo $item->title (); ?></h1>
<?php $author = $item->author (); ?>
<?php echo $author != '' ? '<div class="author">' . Translate::t ('by_author', $author) . '</div>' : ''; ?>
- <?php echo lazyimg($item->content ()); ?>
+ <?php
+ if($this->conf->lazyload() == 'yes') {
+ echo lazyimg($item->content ());
+ } else {
+ echo $item->content();
+ }
+ ?>
</div>
<ul class="horizontal-list bottom">