What a refactor of articles

This commit is contained in:
2023-02-12 14:56:49 +01:00
parent 33bf6769e4
commit f156d4dacc
35 changed files with 228 additions and 134 deletions

View File

@ -1,5 +1,5 @@
<script lang="ts">
import ArticleFooter from '../../../components/blog/ArticleFooter.svelte'
import ArticleFooter from '$lib/components/articles/ArticlePreviewFooter/ArticlePreviewFooter.svelte'
import type { PageData } from './$types'
import { contentClass } from './page.css'
@ -15,4 +15,4 @@
<div class="content {contentClass}">
{@html data.body}
</div>
<ArticleFooter post={data} />
<ArticleFooter article={data} segment="blog" />