Update.
This commit is contained in:
parent
97f636bf3f
commit
4524de54bf
@ -164,7 +164,7 @@
|
||||
<h2 class="article-title">
|
||||
<a href="{{ article.link }}" target="_blank">{{ article.title }}</a>
|
||||
</h2>
|
||||
<div style="display: none">Sentiment: {{ article.sentiment }}</div>
|
||||
|
||||
<div class="article-meta">
|
||||
<span class="article-source">{{ article.feed_name }}</span>
|
||||
{% if article.author %}
|
||||
@ -179,6 +179,8 @@
|
||||
{% set clean_text = full_content|striptags %}
|
||||
{% set display_text = clean_text[:500] if article.content else clean_text[:300] %}
|
||||
{{ display_text }}{% if clean_text|length > (500 if article.content else 300) %}...{% endif %}
|
||||
|
||||
<div class="article-sentiment" style="display: none">Sentiment: {{ article.sentiment }}</div>
|
||||
</div>
|
||||
|
||||
{% set words = full_content.split() %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user