Skip to content

Commit

Permalink
og twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
SoumyaK4 committed Dec 21, 2024
1 parent 64de69d commit e110b03
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Experiences.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Experiences
layout: page
description: A brief description of your page content
# image: /assets/images/Logo.png
nav_order: 3
---

Expand Down
8 changes: 8 additions & 0 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- OG -->
<meta property="og:title" content="{{ page.title | default: site.title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />
Expand All @@ -6,6 +7,13 @@
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />

<!-- Twitter Card Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ page.title | default: site.title }}" />
<meta name="twitter:description" content="{{ page.description | default: site.description }}" />
<meta name="twitter:image" content="{{ page.image | default: site.og-img }}" />
<meta name="twitter:url" content="{{ page.url | absolute_url }}" />

<script data-goatcounter="https://soumyak4.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
<!-- <script src="https://kit.fontawesome.com/0f071bb5d6.js" crossorigin="anonymous"></script> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css">
2 changes: 2 additions & 0 deletions demo.md → kitchen.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Demo
layout: page
nav_exclude: true
description: A brief description of your page content
image: /assets/images/Logo.png
---

<button class="btn js-toggle-dark-mode">Preview dark color scheme</button>
Expand Down

0 comments on commit e110b03

Please sign in to comment.