mirror of
https://github.com/jgthms/bulma
synced 2026-03-17 10:54:29 -07:00
Add love sorting
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
{% assign tweet = site.data.love.tweets_by_id[include.tweet_id] %}
|
||||
{% assign twUrl = "https://twitter.com/" | append: tweet.username | append: "/status/" | append: tweet.id %}
|
||||
|
||||
<article class="bd-tw {{ include.modifier }} {% if include.drawing_id %}bd-has-drawing{% endif %}">
|
||||
<article
|
||||
data-likes="{{ tweet.hearts }}"
|
||||
data-id="{{ tweet.id }}"
|
||||
class="bd-tw {{ include.modifier }} {% if include.drawing_id %}bd-has-drawing{% endif %}">
|
||||
<header class="bd-tw-header">
|
||||
<a class="bd-tw-author" href="{{ twUrl }}" target="_blank">
|
||||
<figure class="bd-tw-avatar">
|
||||
|
||||
Reference in New Issue
Block a user