Skip to content

Commit 9220b2f

Browse files
committed
Fix social image
1 parent 675f90e commit 9220b2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_includes/head.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
3030
<meta property="og:site_name" content="Codegaze" />
3131
<meta property="og:type" content="website" />
32-
{% if page.social_image %}
32+
{% if social_image %}
3333
<meta
3434
property="og:image"
35-
content="{{ site.url }}/assets/img/posts/{{page.social_image}}"
35+
content="{{ site.url }}/assets/img/posts/{{social_image}}"
3636
/>
3737
{% else %}
3838
<meta
3939
property="og:image"
4040
content="{{ site.url }}/assets/img/social/linkedin.png?v=2"
4141
/>
42-
{% endif %} {% if description == nul %}
42+
{% endif %} {% if description == null %}
4343
<meta property="og:description" content="Personal Blog of Thanos Kolovos" />
4444
{% else %}
4545
<meta property="og:description" content="{{ description }}" />
@@ -52,7 +52,7 @@
5252
<meta name="twitter:card" content="summary" />
5353
<meta name="twitter:site" content="@codegaze" />
5454
<meta name="twitter:title" content="{{ title }}" />
55-
{% if description == nul %}
55+
{% if description == null %}
5656
<meta
5757
property="twitter:description"
5858
content="Personal Blog of Thanos Kolovos"

0 commit comments

Comments
 (0)