From 4d1f9bdf859033b477494b2343f6d5befc9a22bc Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 14 Apr 2024 19:03:59 -0700 Subject: [PATCH] fix: title bug --- package.json | 2 +- src/_includes/base.liquid | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 425eb9b5..4e4d1ec9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "10.3.3", + "version": "10.3.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index 1e9b525a..b32390e6 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -2,8 +2,10 @@ {%- capture pageTitle -%} {% if page.url | isPost %} {{ title }} + {% elsif title %} + {{ title }} • {{ meta.siteName }} {% else %} - {{ title }} • {{meta.siteName}} + {{ meta.siteName }} {% endif %} {%- endcapture -%}