blob: 358ef6176d2d7fc0ee0d13ad657f2b481d228819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<div class="feed">
<div class="card" v-for="post in posts">
<p class="card-text">{{ post.description }}</p>
<div class="card-img">
<span v-for="image in post.images">
<a v-bind:href="image"><img v-bind:src="image"></a>
</span>
</div>
<p class="date">
{{ post.createdAt.substring(0,10) }}
<span v-for="tag in post.tags">
<a class="tag" href="#">{{tag}}</a>
</span>
</p>
</div>
</div>
|