From 126fa877f904a894e43c423fe19427e9221e36d1 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 24 Jan 2025 21:15:21 +0100 Subject: more tweaks --- _layouts/default.html | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html index 46cf1e9..efb2c87 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,10 +7,10 @@ - {% if page.id == "index" %} - {{ site.title }} - {% else %} + {% if page.post %} {{ page.title }} - {{ site.title }} + {% else %} + {{ site.title }} {% endif %} @@ -25,7 +25,7 @@ posts {% if page.toc %}top{% endif %} - {% if page.footer %}bottom{% endif %} + {% if page.post %}bottom{% endif %} @@ -33,28 +33,26 @@ {% if page.toc %}{% toc %}{% endif %} {{ content }} - {% if page.footer %} - {% assign post_meta = site.data.post[page.slug] %} - {% assign site_meta = site.data.meta %} + {% if page.post %}