feat: update new image formatting in post
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Damillora 2024-12-03 03:27:00 +07:00
parent 94758efa2b
commit 333f99b27c
3 changed files with 14 additions and 11 deletions

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "@damillora/shallie", "name": "@damillora/shallie",
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"@damillora/plachta": "^6.6.0", "@damillora/plachta": "^6.7.0",
"@directus/sdk": "^18.0.0" "@directus/sdk": "^18.0.0"
}, },
"devDependencies": { "devDependencies": {
@ -55,9 +55,9 @@
} }
}, },
"node_modules/@damillora/plachta": { "node_modules/@damillora/plachta": {
"version": "6.6.0", "version": "6.7.0",
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.6.0.tgz", "resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.7.0.tgz",
"integrity": "sha512-P8MWjHrcQPU1TKJEVQXxN7Wzl93NjAFBDzi6szSOfx3qTQ6GENIObdctU9Q5k4wRcZySguC8Hhw7ux2E9SCh1A==", "integrity": "sha512-Mkwz+8zUDl34/QdVF73YFnZbI50zIXYb0h2St2NAjAkZILGUgtlNuup0wftz7JyhwWUVLn1+1bwT727KC1OE/w==",
"dependencies": { "dependencies": {
"svelte": "^5.0.0" "svelte": "^5.0.0"
} }
@ -4415,9 +4415,9 @@
} }
}, },
"@damillora/plachta": { "@damillora/plachta": {
"version": "6.6.0", "version": "6.7.0",
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.6.0.tgz", "resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.7.0.tgz",
"integrity": "sha512-P8MWjHrcQPU1TKJEVQXxN7Wzl93NjAFBDzi6szSOfx3qTQ6GENIObdctU9Q5k4wRcZySguC8Hhw7ux2E9SCh1A==", "integrity": "sha512-Mkwz+8zUDl34/QdVF73YFnZbI50zIXYb0h2St2NAjAkZILGUgtlNuup0wftz7JyhwWUVLn1+1bwT727KC1OE/w==",
"requires": { "requires": {
"svelte": "^5.0.0" "svelte": "^5.0.0"
} }

View File

@ -45,7 +45,7 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@damillora/plachta": "^6.6.0", "@damillora/plachta": "^6.7.0",
"@directus/sdk": "^18.0.0" "@directus/sdk": "^18.0.0"
} }
} }

View File

@ -9,7 +9,10 @@
PostRelated, PostRelated,
PostCard, PostCard,
GhostStyle, GhostStyle,
Notice Notice,
PostStyle
} from '@damillora/plachta'; } from '@damillora/plachta';
import PostSeo from '$lib/components/SEO/PostSEO.svelte'; import PostSeo from '$lib/components/SEO/PostSEO.svelte';
@ -37,9 +40,9 @@
date={data.post.date_published ? dayjs(data.post.date_published).format('DD MMM YYYY') : null} date={data.post.date_published ? dayjs(data.post.date_published).format('DD MMM YYYY') : null}
/> />
<PostMain> <PostMain>
<GhostStyle> <PostStyle>
{@html data.post.content} {@html data.post.content}
</GhostStyle> </PostStyle>
</PostMain> </PostMain>
<PostNavigator prev_post={data.prevPost} next_post={data.nextPost} /> <PostNavigator prev_post={data.prevPost} next_post={data.nextPost} />
</Post> </Post>