mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
some comments for the profile code
This commit is contained in:
parent
cfc9e302ca
commit
17c9825a81
@ -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;">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user