diff --git a/app/templates/post/_post_full.html b/app/templates/post/_post_full.html index b6536972..bb343f60 100644 --- a/app/templates/post/_post_full.html +++ b/app/templates/post/_post_full.html @@ -1,7 +1,7 @@
{% include "post/_breadcrumb_nav.html" %} -

{{ post.title }} +

{{ post.title }} {% if post.nsfw -%}nsfw{% endif -%} {% if post.nsfl -%}nsfl{% endif -%}

@@ -21,7 +21,7 @@ {% if post.edited_at -%} edited

{% if post.type == POST_TYPE_IMAGE -%} -
+
{% if post.image_id -%} {% if low_bandwidth -%}
{% endif -%} {% elif post.type == POST_TYPE_IMAGE -%} -
+
{{ post.image.alt_text if post.image.alt_text else post.title }}
diff --git a/app/templates/post/post_edit.html b/app/templates/post/post_edit.html index 976cbe8b..e3ebaad6 100644 --- a/app/templates/post/post_edit.html +++ b/app/templates/post/post_edit.html @@ -19,7 +19,7 @@
{% elif post_type == POST_TYPE_IMAGE %} {% if post.image_id -%} -
+
{% if low_bandwidth -%} {% include "post/post_teaser/_title.html" %} {% if post.image_id and not low_bandwidth -%} -