Sha256: 186df93ea5565ee0c4aff08035b0f7418a16e2333b7df6d495166cb0d113f4a3
Contents?: true
Size: 816 Bytes
Versions: 2
Compression:
Stored size: 816 Bytes
Contents
<section class="tweets"> {% if page.tweets %} {% assign tweets = page.tweets %} {% else %} {% assign tweets = site.data.tweets %} {% endif %} {% for tweet in tweets %} <a class="card" target="_blank" href="https://twitter.com/intent/tweet?text={{ tweet | url_encode }}"> <section class="card tweet"> <p> {% assign words = tweet | split: " " %} {% for word in words %} {% assign first_ch = word | slice: 0 %} {% if first_ch == "#" %} <span class="hashtag">{{ word }}</span> {% elsif first_ch == "@" %} <span class="at">{{ word }}</span> {% else %} {{ word }} {% endif %} {% endfor %} </p> </section> </a> {% endfor %} </section>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-chaos-0.1.1 | _includes/tweets.html |
jekyll-theme-chaos-0.1.0 | _includes/tweets.html |