Skip to content

Commit

Permalink
Merge pull request #1 from Keanro:share-linkedin-testing
Browse files Browse the repository at this point in the history
Testing live
  • Loading branch information
Keanro authored Aug 21, 2024
2 parents 0a62d29 + 70215fd commit d56e3a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</li>
<li class="share__item">
<a class="share__link share__linkedin"
href="https://www.linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url }}&title={{ page.title | uri_escape }}&summary={{ page.description | uri_escape }}&source={{ site.title | uri_escape }}"
href="https://www.linkedin.com/sharing/share-offsite/?url=https://krosario.com/{{ page.url }}"
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
title="Share on LinkedIn" rel="nofollow"><i class="ion ion-logo-linkedin"></i></a>
</li>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
layout: default
---
<meta property='og:title' content={{page.title}}/>
<meta property='og:image' content={{page.image}}/>
<meta property='og:description' content={{page.description}}/>
<meta property='og:url' content='"https://www.linkedin.com/shareArticle?mini=true&url=https://krosario.com/{{ page.url }}'/>

<div class="post-top">
<div class="container">
Expand Down

0 comments on commit d56e3a9

Please sign in to comment.