Thread tagged as: Problem, Blog

url for current page?

I have a linkedIn share button on a blog. Its currently only using a specific url for a specific post. Cant seem to find an answer that works!

<a href="">
     <img src="../img/linkedin.png" width="30" height="30" alt="LinkedIn Share">

How do I make it so it takes the url for whichever post is on the current page?

Chris James

Chris James 0 points

  • 5 years ago

You can output the post URL using <perch:blog id="postURL" />.

Thank you Cive. Working great now