HI, I am Back New topic related to Ghost blog CMS.Create a Pinterest Share Link for Ghost Blog CMS.

Before creating the Pinterest social share link we are going to see about How to get the Current post link, Title, Image, and Description.

{{title}} - Get the Post title

{{@blog.url}} - Get the Ghost Blog URL

{{url absolute="true"}} - Get the Current post/page URL

{{image}} - Get the Post Featured Image

{{@blog.title}} - Get the blog title

{{@blog.description}} - Get the Blog Description

Create a Pinterest Share Link for Ghost

  • Normal URL of Pinterest Social Share
https://pinterest.com/pin/create/button/
  • Pinterest Share link for Ghost Blog Homepage
<a href="https://pinterest.com/pin/create/button/?url={{@blog.url}}{{#if @blog.cover}}&media={{@blog.url}}{{@blog.cover}}{{/if}}&description={{encode @blog.description}}" target="_blank">Pin it</a>
  • Pin button for Homepage with blog title instead of blog description
<a href="https://pinterest.com/pin/create/button/?url={{@blog.url}}{{#if @blog.cover}}&media={{@blog.url}}{{@blog.cover}}{{/if}}&description={{encode @blog.title}}" target="_blank">Pin it</a>
  • For Blog Posts
<a href="https://pinterest.com/pin/create/button/?url={{url absolute="true"}}{{#if image}}&media={{@blog.url}}{{image}}{{/if}}&description={{excerpt words="20"}}" target="_blank">Pin it</a>
  • Pin button with blog post title instead of post description
<a href="https://pinterest.com/pin/create/button/?url={{url absolute="true"}}{{#if image}}&media={{@blog.url}}{{image}}{{/if}}&description={{encode title}}" target="_blank">Pint it</a>
  • That's all

Hope this Guide will help you to Create a Pinterest Share Link for Ghost Blog Homepage/posts/pages.