From dee2d33a36d8e2b52a63cfa57d900095500b1555 Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Mon, 18 Mar 2024 17:36:00 +0100 Subject: [PATCH] content update --- blog/templates/blog/blog_index_page.html | 31 +++--- blog/templates/blog/blog_page.html | 93 +++++++++++------- home/templates/home/home_page.html | 24 +++-- iamkonstantin_web/templates/base.html | 6 +- .../templates/includes/footer.html | 37 +++---- ...70b8f56ef0dbeaefd4a981ccc510.width-400.png | Bin 0 -> 154674 bytes ...3-b662-a3604050ac8.2e16d0ba.fill-28x28.jpg | Bin 0 -> 942 bytes ...3-b662-a3604050ac8.2e16d0ba.fill-64x64.jpg | Bin 0 -> 1642 bytes ...3-6905-4b23-b662-a3604050ac80.width-28.jpg | Bin 0 -> 942 bytes theme/static/fonts/NotoEmoji-Regular.ttf | Bin 0 -> 878928 bytes theme/static_src/src/styles.css | 43 +++++--- theme/static_src/tailwind.config.js | 4 +- 12 files changed, 144 insertions(+), 94 deletions(-) create mode 100644 media/images/097d70b8f56ef0dbeaefd4a981ccc510.width-400.png create mode 100644 media/images/_508d3ac3-6905-4b23-b662-a3604050ac8.2e16d0ba.fill-28x28.jpg create mode 100644 media/images/_508d3ac3-6905-4b23-b662-a3604050ac8.2e16d0ba.fill-64x64.jpg create mode 100644 media/images/_508d3ac3-6905-4b23-b662-a3604050ac80.width-28.jpg create mode 100644 theme/static/fonts/NotoEmoji-Regular.ttf diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html index 8930456..f527d41 100644 --- a/blog/templates/blog/blog_index_page.html +++ b/blog/templates/blog/blog_index_page.html @@ -5,22 +5,27 @@ {% block body_class %}template-blogindexpage{% endblock %} {% block content %} -

{{ page.title }}

+
+

{{ page.title }}

-
{{ page.intro|richtext }}
+
{{ page.intro|richtext }}
+
-{% for post in blogpages %} - {% with post=post.specific %} -

{{ post.title }}

+
+ {% for post in blogpages %} + {% with post=post.specific %} +
+

{{ post.title }}

- - {% with post.main_image as main_image %} - {% if main_image %}{% image main_image fill-160x100 %}{% endif %} - {% endwith %} + {% with post.main_image as main_image %} + {% if main_image %}{% image main_image width-400 class="blog" %}{% endif %} + {% endwith %} -

{{ post.intro }}

- {{ post.body }} - {% endwith %} -{% endfor %} + +

{{ post.intro }}

+
+ {% endwith %} + {% endfor %} +
{% endblock %} \ No newline at end of file diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html index e5d4fbd..f4c5e8c 100644 --- a/blog/templates/blog/blog_page.html +++ b/blog/templates/blog/blog_page.html @@ -5,50 +5,67 @@ {% block body_class %}template-blogpage{% endblock %} {% block content %} -

{{ page.title }}

-

{{ page.date }}

+
+
+

{{ page.title }}

+

{{ page.date }}

- {% with authors=page.authors.all %} - {% if authors %} -

Posted by:

-
    - {% for author in authors %} -
  • - {% image author.author_image fill-40x60 style="vertical-align: middle" %} - {{ author.name }} -
  • - {% endfor %} -
- {% endif %} - {% endwith %} + {% with authors=page.authors.all %} + {% if authors %} +

Posted by:

+
    + {% for author in authors %} +
  • +
    +
    +
    + {% image author.author_image fill-64x64 class="inline-block h-14 w-14 rounded-full" %} +
    +
    +

    {{ author.name }}

    +
    +
    +
    +
  • + {% endfor %} +
+ {% endif %} + {% endwith %} -
{{ page.intro }}
+
{{ page.intro }}
- {{ page.body }} +
+ {{ page.body }} -
- {% for item in page.gallery_images.all %} -
- {% image item.image fill-320x240 %} -

{{ item.caption }}

-
- {% endfor %} -
- -

Return to blog

- - {% with tags=page.tags.all %} - {% if tags %} -
-

Tags

-
    - {% for tag in tags %} -
  • {{ tag }}
  • +
    + {% for item in page.gallery_images.all %} +
    + {% image item.image fill-320x240 %} +

    {{ item.caption }}

    +
    {% endfor %} -
+
- {% endif %} - {% endwith %} + {% with tags=page.tags.all %} + {% if tags %} +
+

Tags

+
    + {% for tag in tags %} +
  • {{ tag }}
  • + {% endfor %} +
+
+ {% endif %} + {% endwith %} + +
+ + + +
{% endblock %} \ No newline at end of file diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index efe4851..76f318a 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -4,16 +4,20 @@ {% block body_class %}{% endblock %} {% block content %} -
-

{{ page.title }}

- {% image page.image fill-480x320 %} -

{{ page.hero_text }}

- {% if page.hero_cta_link %} - - {% firstof page.hero_cta page.hero_cta_link.title %} - - {% endif %} +
+
+

{{ page.title }}

+ {% image page.image fill-480x320 %} +

{{ page.hero_text }}

+ {% if page.hero_cta_link %} + + {% firstof page.hero_cta page.hero_cta_link.title %} + + {% endif %} +
- {{ page.body|richtext }} +
+ {{ page.body|richtext }} +
{% endblock content %} \ No newline at end of file diff --git a/iamkonstantin_web/templates/base.html b/iamkonstantin_web/templates/base.html index f47bad8..9a0ef2c 100644 --- a/iamkonstantin_web/templates/base.html +++ b/iamkonstantin_web/templates/base.html @@ -41,15 +41,15 @@
-
+
-
+
{% include "includes/header.html" %} -
+
{% block content %}{% endblock %}
diff --git a/iamkonstantin_web/templates/includes/footer.html b/iamkonstantin_web/templates/includes/footer.html index 635fd0e..841d8f3 100644 --- a/iamkonstantin_web/templates/includes/footer.html +++ b/iamkonstantin_web/templates/includes/footer.html @@ -1,24 +1,25 @@ {% load navigation_tags %} -