Skip to content

Commit 9f2984c

Browse files
committed
fix: change og-image to svg
1 parent 5c29013 commit 9f2984c

File tree

4 files changed

+3
-51
lines changed

4 files changed

+3
-51
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.png{% endif %}">
17+
<meta property="og:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.svg{% 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.png{% endif %}">
26+
<meta name="twitter:image" content="{% if page.image %}{{ site.url }}{{ page.image }}{% else %}{{ site.url }}/assets/images/og-image.svg{% endif %}">
2727
{% if site.twitter_username %}
2828
<meta name="twitter:creator" content="@{{ site.twitter_username }}">
2929
{% endif %}

assets/images/og-image-template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<div class="content">
7878
<h1>Awar Abdulkarim</h1>
7979
<div class="subtitle">Cloud Engineer & Tech Enthusiast</div>
80-
<div class="description">Building innovative solutions with Kubernetes & Azure</div>
80+
<div class="description">Building new solutions</div>
8181
<div class="footer">awar.no</div>
8282
</div>
8383
</div>

assets/images/og-image.png

-269 KB
Binary file not shown.

generate-og-image.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)