Skip to content

Commit

Permalink
Merge pull request #1 from tordans/User-name-instead-of-property-…
Browse files Browse the repository at this point in the history
…for-twitter

User `name` instead of `property` for twitter
  • Loading branch information
RamVasuthevan authored Aug 27, 2023
2 parents db0e639 + 2480c78 commit c28593a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

{% if seo_tag.image %}
<meta name="twitter:card" content="{{ page.twitter.card | default: site.twitter.card | default: "summary_large_image" }}" />
<meta property="twitter:image" content="{{ seo_tag.image.path }}" />
<meta name="twitter:image" content="{{ seo_tag.image.path }}" />
{% else %}
<meta name="twitter:card" content="summary" />
{% endif %}
Expand All @@ -69,7 +69,7 @@
{% endif %}

{% if seo_tag.page_title %}
<meta property="twitter:title" content="{{ seo_tag.page_title }}" />
<meta name="twitter:title" content="{{ seo_tag.page_title }}" />
{% endif %}

{% if site.twitter %}
Expand Down

0 comments on commit c28593a

Please sign in to comment.