chore: post name only for posts
This commit is contained in:
parent
790f7ddfff
commit
ae2d9399a3
3 changed files with 13 additions and 3 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue