fix: title bug

This commit is contained in:
Cory Dransfeldt 2024-04-14 19:03:59 -07:00
parent 19e22c4c32
commit 4d1f9bdf85
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -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": {

View file

@ -2,8 +2,10 @@
{%- capture pageTitle -%}
{% if page.url | isPost %}
{{ title }}
{% elsif title %}
{{ title }} • {{ meta.siteName }}
{% else %}
{{ title }} • {{meta.siteName}}
{{ meta.siteName }}
{% endif %}
{%- endcapture -%}
<!doctype html>