chore: post name only for posts

This commit is contained in:
Cory Dransfeldt 2024-04-14 18:39:14 -07:00
parent 790f7ddfff
commit ae2d9399a3
No known key found for this signature in database
3 changed files with 13 additions and 3 deletions

View file

@ -1,5 +1,11 @@
{%- capture fullUrl %}{{ meta.url }}{{ page.url }}{% endcapture -%}
{%- capture pageTitle %}{% if title %}{{ title }} • {% endif %}{{meta.siteName}}{% endcapture -%}
{%- capture fullUrl -%}{{ meta.url }}{{ page.url }}{%- endcapture -%}
{%- capture pageTitle -%}
{% if page.url | isPost %}
{{ title }}
{% else %}
{{ title }} • {{meta.siteName}}
{% endif %}
{%- endcapture -%}
<!doctype html>
<html lang="en">
<head>