We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1fc63d commit 2722b4bCopy full SHA for 2722b4b
themes/usips/templates/blog-post.html
@@ -9,6 +9,18 @@
9
{% if page.extra.blog_image %}
10
<meta property="og:image" content="{{ get_url(path=page.extra.blog_image) }}">
11
{% endif %}
12
+<meta name="twitter:card" content="summary">
13
+<meta name="twitter:site" content="@usipsorg">
14
+{% if page.extra.blog_image %}
15
+<meta name="twitter:image" content="{{ get_url(path=page.extra.blog_image) }}">
16
+{% endif %}
17
+{% if page.extra.author %}
18
+{% set author = config.extra.authors[page.extra.author] %}
19
+{% if author.social %}
20
+{% set creator_handle = author.social | split(pat="/") | last %}
21
+<meta name="twitter:creator" content="@{{ creator_handle }}">
22
23
24
{% endblock %}
25
26
0 commit comments