blob: 5b8cccdd5a4e23c361b456cdeee5eaded23b77e6 (
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" v-bind:href="'/tags#'+tag">{{tag}}</a>
</span>
</p>
</div>
</div>
|