diff options
author | Andrew Dolgov <[email protected]> | 2019-03-16 15:35:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-16 15:35:11 +0300 |
commit | eab568065fda670d81f2cfdbf1efc86cd6f90ad0 (patch) | |
tree | 1c3ae2725e00d7db6fcbe05919652a2994393415 /classes | |
parent | 4438f27f7399cc63cda8c743f29886968194dcae (diff) |
enable excerpt for text digest
Diffstat (limited to 'classes')
-rw-r--r-- | classes/digest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/digest.php b/classes/digest.php index 68a14ef68..68859d67c 100644 --- a/classes/digest.php +++ b/classes/digest.php @@ -192,8 +192,8 @@ class Digest $tpl_t->setVariable('ARTICLE_LINK', $line["link"]); $tpl_t->setVariable('ARTICLE_UPDATED', $updated); $tpl_t->setVariable('ARTICLE_LABELS', $article_labels_formatted, true); -// $tpl_t->setVariable('ARTICLE_EXCERPT', -// truncate_string(strip_tags($line["excerpt"]), 100)); + $tpl_t->setVariable('ARTICLE_EXCERPT', + truncate_string(strip_tags($line["excerpt"]), 300), true); $tpl_t->addBlock('article'); |