diff options
Diffstat (limited to 'src/html/feed.html')
-rw-r--r-- | src/html/feed.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/html/feed.html b/src/html/feed.html new file mode 100644 index 0000000..358ef61 --- /dev/null +++ b/src/html/feed.html @@ -0,0 +1,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>
\ No newline at end of file |