diff --git a/templates/threads.html b/templates/threads.html
index 9417b43..8b1808c 100644
--- a/templates/threads.html
+++ b/templates/threads.html
@@ -6,8 +6,8 @@
{{ app.title }}
{% if threads|length == 1 %}
-
-
+
+
{% else %}
diff --git a/threads.py b/threads.py
index 590c1d6..727a8b9 100755
--- a/threads.py
+++ b/threads.py
@@ -39,7 +39,9 @@ def home():
def thread(id):
if id in thread_ids:
status = fetch_thread(id)
- status['content_text'] = clean_html(status['content']).strip()
+ status['summary'] = clean_html(status['content']).strip()
+ if len(status['summary']) > 69:
+ status['summary'] = status['summary'][:69] + '...'
return render_template('threads.html', threads=[status], app=app, attribution=attribution)
else:
return 'Not Found
¯\_(ツ)_/¯
go home', 404