add emmed
This commit is contained in:
@@ -3,6 +3,9 @@ import { stripHtml } from '@/utils/htmlhelpers';
|
||||
import Author from '@components/AuthorDisplay.astro';
|
||||
import Subscribe from '@components/SubscribePost.astro';
|
||||
import ShareButtons from '@components/ShareButtons.astro';
|
||||
import EmbeddedPost from '@components/EmbeddedPost.astro'; // шаблоны ссылок на статьи
|
||||
|
||||
|
||||
|
||||
|
||||
interface Props {
|
||||
@@ -56,14 +59,15 @@ const { post, pageInfo } = Astro.props;
|
||||
)}
|
||||
</figure>
|
||||
)}
|
||||
|
||||
|
||||
{post.content && <div set:html={post.content} />}
|
||||
{post.content && <div class="article-content" set:html={post.content} />}
|
||||
|
||||
<Subscribe />
|
||||
</article>
|
||||
|
||||
<ShareButtons url={post.uri} title={post.title} />
|
||||
<EmbeddedPost />
|
||||
|
||||
</div>
|
||||
) : (
|
||||
<div>Новость не найдена</div>
|
||||
|
||||
Reference in New Issue
Block a user