From 62b362b21ee8d4b33394ba5e4b055014508532c8 Mon Sep 17 00:00:00 2001 From: nete-madi <36465425+nete-madi@users.noreply.github.com> Date: Mon, 5 Apr 2021 14:57:42 -0700 Subject: [PATCH] Fix site title attribute logic (#121) The site title attribute had some logic that would change the site title if a project modal was open, but it caused the title to permanently be set to the title of the last entry in the _posts directory. I removed the if/else logic to keep the site title to be what is specified in _config.yml in the "title" field. --- _includes/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index ca5de05..be98d48 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,7 +1,7 @@ - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + {{ site.title }}