Skip to content

Commit

Permalink
Use obj.og_description for OG description
Browse files Browse the repository at this point in the history
  • Loading branch information
piiamatsi committed Feb 16, 2024
1 parent 7b3b031 commit 188e467
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/template-meta.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
{% endif %}

{% comment %}Open Graph description{% endcomment %}
{%- if og_obj.description != blank -%}
<meta property="og:description" content="{{ og_obj.description | strip_html | escape_once }}">
<meta name="description" content="{{ og_obj.description | strip_html | escape_once }}">
{%- if og_obj.og_description != blank -%}
<meta property="og:description" content="{{ og_obj.og_description | strip_html | escape_once }}">
<meta name="description" content="{{ og_obj.og_description | strip_html | escape_once }}">
{%- endif -%}

{% comment %}SEO pagination for blog articles.{% endcomment %}
Expand Down

0 comments on commit 188e467

Please sign in to comment.