enable excerpt for text digest

This commit is contained in:
Andrew Dolgov 2019-03-16 15:35:11 +03:00
parent 4438f27f73
commit eab568065f
1 changed files with 2 additions and 2 deletions

View File

@ -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');