Skip to content

Commit

Permalink
Merge pull request #136 from Voog/135-og-description
Browse files Browse the repository at this point in the history
Use `obj.og_description` for OG description
  • Loading branch information
PeeterPaal authored Feb 20, 2024
2 parents 7b3b031 + 188e467 commit 0a95b6a
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 0a95b6a

Please sign in to comment.