Skip to content

Commit cc10430

Browse files
committed
fix twitter card issue
1 parent 697e9e1 commit cc10430

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

theme/templates/article.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
{% block meta_header %}{% if article and article.meta %}
44
<meta name="description" content="{{ article.meta }}">
5-
<meta name="twitter:card" content="{{ article.title }}" />
5+
<meta name="twitter:card" content="summary" />
6+
<meta name="twitter:title" content="{{ article.title }}" />
7+
<meta name="twitter:image" content="https://www.fullstackpython.com{{ article.headerimage }}" />
68
<meta name="twitter:site" content="@fullstackpython" />
79
<meta name="twitter:creator" content="@mattmakai" />
810
<meta property="og:url" content="{{ SITEURL }}/blog/{{ article.slug }}.html" />

0 commit comments

Comments
 (0)