From 2a9b89d3521f785d9307f5591808c207e0779e5b Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Wed, 26 Apr 2023 12:53:19 -0300 Subject: [PATCH] Removed blog header-bar when title and description are empty (#1370) When blog title and description are empty, go from this ![image](https://user-images.githubusercontent.com/31376482/234630799-f4c2cd46-7ad0-4d45-a0f6-2badcf0da558.png) to this ![image](https://user-images.githubusercontent.com/31376482/234630683-f11c8a88-438a-4db3-974e-ba9184d5516f.png) Signed-off-by: George Araujo --- blog/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blog/index.html b/blog/index.html index 35aaaa0..da8590b 100644 --- a/blog/index.html +++ b/blog/index.html @@ -15,10 +15,15 @@ pagination:
+ {% assign blog_name_size = site.blog_name | size %} + {% assign blog_description_size = site.blog_description | size %} + + {% if blog_name_size > 0 or blog_description_size > 0 %}

{{ site.blog_name }}

{{ site.blog_description }}

+ {% endif %} {% if site.display_tags %}