fix: title bug
This commit is contained in:
parent
19e22c4c32
commit
4d1f9bdf85
2 changed files with 4 additions and 2 deletions
|
@ -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": {
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue