<div class="grid">
<div class="social-card social-card--tumblr grid__item">
<footer class="social-card__footer">
<a class="social-card__source" href="<?php echo $post->profile; ?>"><?php echo $post->name; ?></a>
<a class="social-card__date" href="">
<time datetime="2016-05-06T09:04:12Z" title="2016-05-06T09:04:12Z">
12 minutes ago
</time>
</a>
</footer>
<div class="content social-card__body">
<p>Cardiff games tomorrow! Make sure you bring charging packs/cables for the inevitable Pokémon GO splurge!</p>
</div>
</div>
<div class="social-card social-card--tumblr social-card--has-image grid__item">
<footer class="social-card__footer">
<a class="social-card__source" href="<?php echo $post->profile; ?>"><?php echo $post->name; ?></a>
<a class="social-card__date" href="">
<time datetime="2016-05-06T09:04:12Z" title="2016-05-06T09:04:12Z">
2 hours ago
</time>
</a>
</footer>
<a class="social-card__media" href="">
<img class="social-card__image" alt="" src="https://pbs.twimg.com/media/Cm7PDUOWIAA1TGf.jpg">
</a>
<div class="content social-card__body">
<p>Happy Bristol Pride @wearefest from the Severn Bronies!</p>
</div>
</div>
<div class="social-card social-card--tumblr grid__item">
<footer class="social-card__footer">
<a class="social-card__source" href="<?php echo $post->profile; ?>"><?php echo $post->name; ?></a>
<a class="social-card__date" href="">
<time datetime="2016-05-06T09:04:12Z" title="2016-05-06T09:04:12Z">
5 days ago
</time>
</a>
</footer>
<div class="content social-card__body">
<p>No meet this coming Saturday (9th) but a few of us will be attending Bristol Pride! Meet at Castle Park before 11am if interested! Otherwise, we'll be having a weekly on Friday, same time, same place.</p>
</div>
</div>
</div>
<div class="grid">
{{#each socialItems}}
<div class="social-card social-card--tumblr {{#if this.image}}social-card--has-image{{/if}} grid__item">
<footer class="social-card__footer">
<a class="social-card__source" href="<?php echo $post->profile; ?>"><?php echo $post->name; ?></a>
<a class="social-card__date" href="{{ this.permalink }}">
<time datetime="2016-05-06T09:04:12Z" title="2016-05-06T09:04:12Z">
{{ this.timeAgo }}
</time>
</a>
</footer>
{{#if this.image}}
<a class="social-card__media" href="{{ this.permalink }}">
<img class="social-card__image" alt="" src="{{ this.image }}">
</a>
{{/if}}
<div class="content social-card__body">
<p>{{ this.content }}</p>
</div>
</div>
{{/each}}
</div>
{
"socialItems": [
{
"content": "Cardiff games tomorrow! Make sure you bring charging packs/cables for the inevitable Pokémon GO splurge!",
"timeAgo": "12 minutes ago"
},
{
"content": "Happy Bristol Pride @wearefest from the Severn Bronies!",
"image": "https://pbs.twimg.com/media/Cm7PDUOWIAA1TGf.jpg",
"timeAgo": "2 hours ago"
},
{
"content": "No meet this coming Saturday (9th) but a few of us will be attending Bristol Pride! Meet at Castle Park before 11am if interested! Otherwise, we'll be having a weekly on Friday, same time, same place.",
"timeAgo": "5 days ago"
}
]
}
There are no notes for this item.