Merge pull request #3900 from thecodechef/main
Some checks failed
End-to-end tests / cypress-run (push) Has been cancelled

[Fixed] the twitter link now show up in twitter cards Fixes #3898
This commit is contained in:
Jeremy Thomas 2024-09-20 15:33:30 +01:00 committed by GitHub
commit 4301d4de48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,13 +33,13 @@
<ul class="bd-tw-actions"> <ul class="bd-tw-actions">
<li class="bd-tw-action is-reply"> <li class="bd-tw-action is-reply">
<a class="bd-tw-action-link" href="https://twitter.com/intent/tweet?in_reply_to={{ tweet.id }}"> <a class="bd-tw-action-link" href="https://x.com/intent/tweet?in_reply_to={{ tweet.id }}">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
</a> </a>
</li> </li>
<li class="bd-tw-action is-retweet"> <li class="bd-tw-action is-retweet">
<a class="bd-tw-action-link" href="https://twitter.com/intent/retweet?tweet_id={{ tweet.id }}"> <a class="bd-tw-action-link" href="https://x.com/intent/retweet?tweet_id={{ tweet.id }}">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
{% if tweet.retweets != 0 %} {% if tweet.retweets != 0 %}
<span class="bd-tw-action-stat"> <span class="bd-tw-action-stat">
@ -50,7 +50,7 @@
</li> </li>
<li class="bd-tw-action is-heart"> <li class="bd-tw-action is-heart">
<a class="bd-tw-action-link" href="https://twitter.com/intent/like?tweet_id={{ tweet.id }}&amp;ref_src=twsrc%5Etfw&amp;ref_url=http%3A%2F%2Fbulma.io%2F&amp;original_referer=http%3A%2F%2Fbulma.io%2F&amp;tw_i={{ tweet.id }}&amp;tw_p=tweetembed" target="_blank"> <a class="bd-tw-action-link" href="https://x.com/intent/like?tweet_id={{ tweet.id }}&amp;ref_src=twsrc%5Etfw&amp;ref_url=http%3A%2F%2Fbulma.io%2F&amp;original_referer=http%3A%2F%2Fbulma.io%2F&amp;tw_i={{ tweet.id }}&amp;tw_p=tweetembed" target="_blank">
<div class="bd-tw-icon"></div> <div class="bd-tw-icon"></div>
{% if tweet.hearts != 0 %} {% if tweet.hearts != 0 %}
<span class="bd-tw-action-stat"> <span class="bd-tw-action-stat">