forked from deepStateMirrors/tabi
🐛 fix: remove unnecessary description filters
It caused issues if description contained double quotes.
This commit is contained in:
parent
01d5322ef3
commit
6673a063b8
3 changed files with 6 additions and 6 deletions
|
@ -62,11 +62,11 @@
|
|||
{%- endif -%}
|
||||
|
||||
{%- if page.description %}
|
||||
<meta name="description" content="{{ page.description | striptags | safe }}" />
|
||||
<meta property="og:description" content="{{ page.description | striptags | safe }}" />
|
||||
<meta name="description" content="{{ page.description }}" />
|
||||
<meta property="og:description" content="{{ page.description }}" />
|
||||
{%- elif section.description %}
|
||||
<meta name="description" content="{{ section.description | striptags | safe }}" />
|
||||
<meta property="og:description" content="{{ section.description | striptags | safe }}" />
|
||||
<meta name="description" content="{{ section.description }}" />
|
||||
<meta property="og:description" content="{{ section.description }}" />
|
||||
{%- elif page.summary %}
|
||||
<meta name="description" content="{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…" />
|
||||
<meta property="og:description" content="{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue