From 218291bceb7d76d0331625bb6d385ba43e2dd314 Mon Sep 17 00:00:00 2001 From: Roger Iyengar Date: Thu, 4 Mar 2021 09:54:38 -0500 Subject: [PATCH] Fix titles and headings (#204) * Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan --- _includes/head.html | 2 +- _includes/header.html | 2 +- _layouts/about.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index ea1701c..4b94490 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,7 +2,7 @@ -{% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %} +{% if site.title == "blank" %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %} diff --git a/_includes/header.html b/_includes/header.html index 438169d..f169efc 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -5,7 +5,7 @@
{% if page.title != "about" %} - {% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %} + {% if site.title == "blank" %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %} {% elsif site.show_social_icons %} diff --git a/_layouts/about.html b/_layouts/about.html index e094909..6f33cfd 100644 --- a/_layouts/about.html +++ b/_layouts/about.html @@ -6,7 +6,7 @@ layout: default

- {% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %} + {% if site.title == "blank" %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}

{{ page.description }}