From 381ac1fc3d98ecd0b6f5215c54f907eac6d2b873 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Feb 2020 09:26:16 -0300 Subject: html tidy wip --- _layouts/default.html | 2 +- _layouts/index.html | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html index 1ff8c1d..6416f57 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -57,7 +57,7 @@
-

{{ page.title }}

+ {% if page.title %}

{{ page.title }}

{% endif %} {{ content }}
diff --git a/_layouts/index.html b/_layouts/index.html index 3c145d0..73b97ef 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -2,12 +2,14 @@ layout: default ---

{{ site.t.recent_posts[page.lang] }}

- +{% if site.posts.size > 0 %} + +{% endif %} -- cgit v1.2.3