aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/partials
diff options
context:
space:
mode:
Diffstat (limited to 'src/_includes/partials')
-rw-r--r--src/_includes/partials/head.njk5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/_includes/partials/head.njk b/src/_includes/partials/head.njk
index cb231d4..4aa8118 100644
--- a/src/_includes/partials/head.njk
+++ b/src/_includes/partials/head.njk
@@ -7,7 +7,12 @@
{%- else -%}
<meta name="description" content="Frontend Web Developer, Game Dev Hobbyist, Night Owl, Synthwave & Vaporwave Lover">
{%- endif -%}
+{%- if cover %}
+<meta name="twitter:card" content="https://indrajith.dev{{cover}}">
+{%- else -%}
<meta name="twitter:card" content="summary_large_image">
+{%- endif -%}
+
<meta name="twitter:site" content="@indrajithKLIS">
<meta name="twitter:creator" content="@indrajithKLIS">
<meta name="twitter:url" content="https://indrajith.dev{{page.url}}">