Compare commits
8
Commits
7ae80ab600
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa071db7ae | ||
|
|
719b31c465 | ||
|
|
4efb11dc6a | ||
|
|
422e4bf0c9 | ||
|
|
6416b18ca6 | ||
|
|
367b5043cb | ||
|
|
3e804dcea9 | ||
|
|
93e1c282aa |
@@ -164,7 +164,7 @@
|
||||
<h2 class="article-title">
|
||||
<a href="{{ article.link }}" target="_blank">{{ article.title }}</a>
|
||||
</h2>
|
||||
<input type="hidden" name="sentiment" value="{{ article.sentiment }}">
|
||||
|
||||
<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() %}
|
||||
|
||||
Reference in New Issue
Block a user