From 2009262b94b9072f62137baf9f85b9bd02ac302d Mon Sep 17 00:00:00 2001 From: MohamedAliRashad Date: Sat, 3 Sep 2022 16:30:37 +0200 Subject: [PATCH] Add better seo --- _includes/head.html | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index b57d009..7b5de2e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,7 +2,37 @@ - {%- seo -%} + + {% if page.title %} + + + {% else %} + + + {% endif %} + {% if page.subheading %} + + {% else %} + + {% endif %} + {% if page.url %} + + {% endif %} + {% if page.date %} + + + {% endif %} + {% if page.banner.image %} + + {% else %} + + {% endif %} + {% if page.categories %} + {% for category in page.categories limit:1 %} + + {% endfor %} + {% endif %} + @@ -15,7 +45,7 @@ @import url(https://fonts.googleapis.com/earlyaccess/lateef.css); @import url(https://fonts.googleapis.com/earlyaccess/scheherazade.css); - +