There is a page with a blog how to set up "Share from Yandex" for each post, now it shares the blog page itself

Closed due to the fact that the essence of the question is incomprehensible by the participants of Streletz , user194374, cheops , zRrr , Suvitruf Jul 1 '16 at 9:33 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    Documentation states that the data-url attribute is responsible for the url address to be shared.

    Therefore, add it to the markup:

     <div class="ya-share2" data-url="https://site.ru/page/" ...