fix replyto and hashtag

This commit is contained in:
⧉ infominer 2020-10-28 21:40:22 -04:00
parent 79a710ad8a
commit ff9ec630e6

View File

@ -8,7 +8,7 @@ classes: wide
{% for row in site.data.ssitw102820 %}
<h3><a href="{{ row.Link }}">{{ row.Time }}</a> <a href="https://twitter.com/{{ row.User }}"><b>@{{ row.User }}</b></a></h3>
<p><sup>Likes: <a href="{{ row.Link }}/likes">{{ row.Favorites }}</a> Following: <a href="https://twitter.com/{{ row.User }}/following/">{{ row.Following }}</a> Followed: <a href="https://twitter.com/{{ row.User }}/followers/">{{ row.Followers }}</a> {% if row.Retweets != "0" %}Retweets: <a href="{{ row.Link }}/retweets">{{ row.Retweets }}</a>{% endif %} {% if row.ReplyURL != "[]" %} <a href="{{ row.ReplyURL }}">Reply to</a>{% endif %}</sup></p>
<p><sup>Likes: <a href="{{ row.Link }}/likes">{{ row.Favorites }}</a> Following: <a href="https://twitter.com/{{ row.User }}/following/">{{ row.Following }}</a> Followed: <a href="https://twitter.com/{{ row.User }}/followers/">{{ row.Followers }}</a> {% if row.Retweets != "0" %}Retweets: <a href="{{ row.Link }}/retweets">{{ row.Retweets }}</a>{% endif %} {% if row.ReplyURL != "[]" and row.ReplyURL != blank %} - <a href="{{ row.ReplyURL }}">Reply to</a>{% endif %}</sup></p>
<blockquote>{{ row.Text }}</blockquote>
{% if row.Urls != "[]" %}
{% assign lnks = row.Urls | split: "," %}
@ -23,7 +23,7 @@ classes: wide
{% endfor %}
{% endif %}
{% assign htags = row.Hashtags | split: "', '" %}
{% for h in htags %}<a href="https://twitter.com/hahstag/{{ h | remove: "['" | remove: "']" }}">#{{ h | remove: "['" | remove: "']" }}</a> {% endfor %}
{% for h in htags %}<a href="https://twitter.com/hashtag/{{ h | remove: "['" | remove: "']" }}">#{{ h | remove: "['" | remove: "']" }}</a> {% endfor %}
{% if row.ImageUrls != "[]" %}
{% assign imgs = row.ImageUrls | split: "', '" %}
{% for img in imgs %}<img src="{{ img | remove: "['" | remove: "']" }}">{% endfor %}