some comments for the profile code

This commit is contained in:
Grzegorz Leoniec 2018-10-16 14:42:31 +02:00
parent cfc9e302ca
commit 17c9825a81

View File

@ -6,15 +6,18 @@
class="post-card"> class="post-card">
<hc-author :post="post" /> <hc-author :post="post" />
<ds-space margin-bottom="small" /> <ds-space margin-bottom="small" />
<!-- Content -->
<div <div
class="content" class="content"
v-html="post.content" /> v-html="post.content" />
<ds-space margin-top="large"/> <ds-space margin-top="large"/>
<!-- Categories -->
<div class="tags"> <div class="tags">
<ds-icon name="compass" /> <ds-tag <ds-icon name="compass" /> <ds-tag
v-for="category in post.categories" v-for="category in post.categories"
:key="category.id">{{ category.name }}</ds-tag> :key="category.id">{{ category.name }}</ds-tag>
</div> </div>
<!-- Tags -->
<template v-if="post.tags && post.tags.length"> <template v-if="post.tags && post.tags.length">
<div class="tags"> <div class="tags">
<ds-icon name="tags" /> <ds-tag <ds-icon name="tags" /> <ds-tag
@ -23,6 +26,7 @@
</div> </div>
</template> </template>
<ds-space margin-bottom="large" /> <ds-space margin-bottom="large" />
<!-- Comments -->
<ds-section <ds-section
slot="footer"> slot="footer">
<h3 style="margin-top: 0;"> <h3 style="margin-top: 0;">