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