Coder Social home page Coder Social logo

Comments (3)

gschier avatar gschier commented on June 23, 2024

Hey @sidaurukfreddy. To change what they share you just have to update the share url and text within each button link. Check out the attached blog post for details.

from html-share-buttons.

sidaurukfreddy avatar sidaurukfreddy commented on June 23, 2024

I didn't see detail for share dynamic url in your blog, you just blogged how to share with media social without more explanation only some sentences here

"Share links are very simple. Simply make an anchor tag that points to a sharing URL of the desired social network and attach some query params to tell the network what to share."

will big thanks for detail

Freddy Sidauruk

from html-share-buttons.

gschier avatar gschier commented on June 23, 2024

I know this is old but I wanted to provide an answer before closing this issue. The most common way to make your links dynamic is to fill in the dynamic parts using whatever your website's template language is. You can see an example on my blog here:

https://github.com/gschier/schier.co/blob/602675cad4e81eb5127618275da6dbe37539748e/themes/hugo-schier-theme/layouts/blog/single.html#L49-L66

from html-share-buttons.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.