Trim description in meta section
This commit is contained in:
parent
ff68b79ca8
commit
1294d2f305
|
@ -23,7 +23,7 @@
|
||||||
<link rel="preload" href="{{ get_url(path="vendor/podlove-subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.ttf") | safe }}" as="font" crossorigin="anonymous">
|
<link rel="preload" href="{{ get_url(path="vendor/podlove-subscribe-button/fonts/roboto_medium/Roboto-Medium-webfont.ttf") | safe }}" as="font" crossorigin="anonymous">
|
||||||
{%- endblock prefetch %}
|
{%- endblock prefetch %}
|
||||||
{%- block metadata %}
|
{%- block metadata %}
|
||||||
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ config.description }}{% endif %}">
|
<meta name="description" content="{% if page.description %}{{ page.description | trim }}{% else %}{{ config.description | trim }}{% endif %}">
|
||||||
{%- endblock metadata %}
|
{%- endblock metadata %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue