diff options
Diffstat (limited to 'src/html/feed.html')
-rw-r--r-- | src/html/feed.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html/feed.html b/src/html/feed.html index 15a364d..7128174 100644 --- a/src/html/feed.html +++ b/src/html/feed.html @@ -3,11 +3,11 @@ <p class="card-text" v-html="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> + <a v-bind:href="'/'+image"><img v-bind:src="'/'+image"></a> </span> </div> <p class="date"> - {{ post.createdAt.substring(0,10) }} + <a v-bind:href="'/post/'+post.type+'/'+post.id">{{ post.createdAt.substring(0,10) }}</a> <span v-for="tag in post.tags"> <a class="tag" v-bind:href="'/tags#'+tag">{{tag}}</a> </span> |