Skip to content

Commit

Permalink
Added a "Share on LinkedIn" button to the post layout (closes #64).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Nov 8, 2023
1 parent 7509773 commit 9635ea4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/images/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ <h1 class="post-title">{{ page.title }}</h1>
<a class="button" href="https://lobste.rs/stories/new?url=https://ronin-rb.dev{{ page.url | uri_escape }}" title="Share on Lobste.rs">
{% include images/lobsters.svg %}
</a>

<a class="button" href="https://www.linkedin.com/sharing/share-offsite/?url=https://ronin-rb.dev{{ page.url | uri_escape }}" title="Share on LinkedIn">
{% include images/linkedin.svg %}
</a>
</div>
</article>

0 comments on commit 9635ea4

Please sign in to comment.