diff --git a/hypn0/templates/blog/detail.html b/hypn0/templates/blog/detail.html index 3a9fef2..de3a47c 100644 --- a/hypn0/templates/blog/detail.html +++ b/hypn0/templates/blog/detail.html @@ -67,7 +67,7 @@ {% endif %} - +
@@ -77,6 +77,7 @@ {% if post.k_item %} + Аддитивная картина: {{ post.k_item.s_title }} {% endif %}
@@ -85,44 +86,42 @@ {{ post.d_published_at|date:'d E 30y, H:i:s' }} - - -
- -
- {% if post.f_cover_img %}{# ЕСТЬ ТИЗЕР-КАРТИНКА И ПОКАЗЫВАЕМ ЕË #} -
- {{ post.s_title|striptags }} -
- {% else %}{# НЕТ ТИЗЕР-КАРТИНКИ И ПОКАЗЫВАЕМ ЗАГЛУШКУ #} -
- Гипножаба{# <-- СЮДА ДЕФОЛТНУЮ КАРТИНКУ #} - Тут ничего не нарисовано{# <-- А ПОСЛЕ ЭТО УБРАТЬ #} -
- {% endif %} -
- - -
-

- {{ post.s_title|safe }} -

- - - {% if post.s_teaser %} -
- {{ post.s_teaser|safe }} -
- {% endif %} -
-
- {% comment %} - {% endcomment %} -
{% comment %} - {% endcomment %} + + +
+ + +
+ {% if post.f_cover_img %}{# ЕСТЬ ТИЗЕР-КАРТИНКА И ПОКАЗЫВАЕМ ЕË #} +
+ {{ post.s_title|striptags }} +
+ {% else %}{# НЕТ ТИЗЕР-КАРТИНКИ И ПОКАЗЫВАЕМ ЗАГЛУШКУ #} +
+ Гипножаба{# <-- СЮДА ДЕФОЛТНУЮ КАРТИНКУ #} + Тут ничего не нарисовано{# <-- А ПОСЛЕ ЭТО УБРАТЬ #} +
+ {% endif %} +
+ + +
+

+ {{ post.s_title|safe }} +

+ + + {% if post.s_teaser %} +
+ {{ post.s_teaser|safe }} +
+ {% endif %} +
+ +
{% if post.k_item %}
@@ -180,7 +179,7 @@ {% if svg_stats.total_oscillators %}
Осцилляций: - {{ svg_stats.total_oscillators }} + {{ svg_stats.total_oscillators }}
{% endif %} {% if svg_stats.viewbox %} @@ -229,9 +228,9 @@ {% endif %}
- -
-
+ +
+
{{ post.s_content|safe }}
diff --git a/hypn0/templates/css/tailwind-custom.css b/hypn0/templates/css/tailwind-custom.css index 9a78c37..e4fadbf 100644 --- a/hypn0/templates/css/tailwind-custom.css +++ b/hypn0/templates/css/tailwind-custom.css @@ -99,6 +99,10 @@ font-size: 1.0625rem; } +.prose > :first-child { + margin-top: 0 !important; +} + .dark .prose { color: #e7e5e4; }