Fixed tweet length (again) (again)

This commit is contained in:
MrLuit 2016-11-22 12:46:59 +01:00 committed by GitHub
commit bfdb669b88

View file

@ -135,7 +135,7 @@ comments: false
{% capture message %}@realDonaldTrump{{ status }}promise no. {% increment issue_number %}: {{ point.text }} on{% endcapture %}{% capture tweettext%}{{ message }}{% endcapture %}
{% if point.status %}
<div class="text-center">
<a href="https://twitter.com/share?url=https://trumptracker.github.io/&text={{ tweettext | url_encode | truncate: 108 }}&hashtags=TrumpTracker" target="_blank">
<a href="https://twitter.com/share?url=https://trumptracker.github.io/&text={{ tweettext | truncate: 99 | url_encode }}&hashtags=TrumpTracker" target="_blank">
<i class="fa fa fa-twitter"></i>
</a>
</div>