the-mvm / the-mvm.github.io

The Minimum Viable Model website and Jekyll theme.
https://the-mvm.github.io
GNU General Public License v3.0
88 stars 428 forks source link

Add click to tweet functionality for blockquotes. #11

Closed amaynez closed 3 years ago

amaynez commented 3 years ago

See it in action here: https://kimgarst.com/how-to-make-money-with-your-website-part-2/

<a class="swp_CTT style6" href="https://twitter.com/share?text=A+good+rule+of+thumb+is+to+try+to+join+affiliate+programs+that+will+give+you+at+least+%2420+or+30%25+per+sale.+Otherwise%2C+you+could+be+putting+in+a+ton+of+work+for+very+little+payoff%21&amp;via=kimgarst&amp;url=https://kimgarst.com/how-to-make-money-with-your-website-part-2/?utm_source=twitter&amp;utm_medium=Social&amp;utm_campaign=SocialWarfare" data-link="https://twitter.com/share?text=A+good+rule+of+thumb+is+to+try+to+join+affiliate+programs+that+will+give+you+at+least+%2420+or+30%25+per+sale.+Otherwise%2C+you+could+be+putting+in+a+ton+of+work+for+very+little+payoff%21&amp;via=kimgarst&amp;url=https://kimgarst.com/how-to-make-money-with-your-website-part-2/?utm_source=twitter&amp;utm_medium=Social&amp;utm_campaign=SocialWarfare" rel="nofollow noreferrer noopener" target="_blank"><span class="sw-click-to-tweet"><span class="sw-ctt-text">A good rule of thumb is to try to join programs that will give you at least $20 or 30% per sale. Otherwise, you could be putting in a ton of work for very little payoff!</span><span class="sw-ctt-btn">Click To Tweet<i class="sw swp_twitter_icon"></i></span></span></a>
amaynez commented 3 years ago

done

just use a <tweet> </tweet> tag inside the post markdown.