Skip to content

Commit 14b333c

Browse files
committed
Update OG image references to use PNG instead of SVG
1 parent 9f2984c commit 14b333c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta property="og:title" content="{% if page.title and page.title != 'Home' %}{{ page.title | escape }}{% else %}{{ site.title | escape }} - Cloud Engineer & Tech Enthusiast{% endif %}">
1515
<meta property="og:description" content="{% if page.description %}{{ page.description | escape }}{% elsif page.title == 'Home' or page.url == '/' %}Cloud engineer passionate about Kubernetes, Azure, and building innovative tech solutions. Sharing discoveries and speaking at conferences worldwide.{% else %}{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}{% endif %}">
1616
<meta property="og:url" content="{{ page.url | replace:'index.html','' | absolute_url }}">
17-
<meta property="og:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.svg{% endif %}">
17+
<meta property="og:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.png{% endif %}">
1818
<meta property="og:image:width" content="1200">
1919
<meta property="og:image:height" content="630">
2020
<meta property="og:locale" content="en_US">
@@ -23,7 +23,7 @@
2323
<meta name="twitter:card" content="summary_large_image">
2424
<meta name="twitter:title" content="{% if page.title and page.title != 'Home' %}{{ page.title | escape }}{% else %}{{ site.title | escape }} - Cloud Engineer & Tech Enthusiast{% endif %}">
2525
<meta name="twitter:description" content="{% if page.description %}{{ page.description | escape }}{% elsif page.title == 'Home' or page.url == '/' %}Cloud engineer passionate about Kubernetes, Azure, and building innovative tech solutions. Sharing discoveries and speaking at conferences worldwide.{% else %}{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}{% endif %}">
26-
<meta name="twitter:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.svg{% endif %}">
26+
<meta name="twitter:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.png{% endif %}">
2727
{% if site.twitter_username %}
2828
<meta name="twitter:creator" content="@{{ site.twitter_username }}">
2929
{% endif %}

0 commit comments

Comments
 (0)