diff --git a/templates/thread.html b/templates/thread.html
index 335cd610..9051d8e0 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -10,7 +10,18 @@
{% include 'header.html' %}
-
{{ board.url }} - {% if config.thread_subject_in_title and thread.subject %}{{ thread.subject }}{% else %}{{ thread.body_nomarkup[:256]|e }}{% endif %}
+
+ {% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup[:256]|e }}{% endif %}{% endset %}
+
+
+
+
+
+
+ {% if thread.files.0.thumb %}{% endif %}
+
+
+ {{ board.url }} - {{ meta_subject }}
{{ boardlist.top }}