feat: update plachta
This commit is contained in:
parent
e33e1826cb
commit
6fc6207171
@ -39,7 +39,7 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@damillora/plachta": "^1.3.0",
|
"@damillora/plachta": "^1.7.0",
|
||||||
"@tryghost/content-api": "^1.11.0",
|
"@tryghost/content-api": "^1.11.0",
|
||||||
"fitvids": "^2.1.1",
|
"fitvids": "^2.1.1",
|
||||||
"svelte-material-icons": "^2.0.2",
|
"svelte-material-icons": "^2.0.2",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
lockfileVersion: 5.3
|
lockfileVersion: 5.3
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@damillora/plachta': ^1.3.0
|
'@damillora/plachta': ^1.7.0
|
||||||
'@sveltejs/adapter-auto': next
|
'@sveltejs/adapter-auto': next
|
||||||
'@sveltejs/adapter-node': ^1.0.0-next.83
|
'@sveltejs/adapter-node': ^1.0.0-next.83
|
||||||
'@sveltejs/kit': next
|
'@sveltejs/kit': next
|
||||||
@ -30,7 +30,7 @@ specifiers:
|
|||||||
vite: ^3.0.2
|
vite: ^3.0.2
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@damillora/plachta': 1.3.0_svelte@3.49.0
|
'@damillora/plachta': 1.7.0_svelte@3.49.0
|
||||||
'@tryghost/content-api': 1.11.0
|
'@tryghost/content-api': 1.11.0
|
||||||
fitvids: 2.1.1
|
fitvids: 2.1.1
|
||||||
svelte-material-icons: 2.0.2_svelte@3.49.0
|
svelte-material-icons: 2.0.2_svelte@3.49.0
|
||||||
@ -66,8 +66,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==}
|
resolution: {integrity: sha512-B1/plF62pt+H2IJHvApK8fdOJAVsvojvacuac8x8s+JIyqbropMyqNqHTKLm3YD8ZFLGwYeFTudU+PQ7vGvBdA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@damillora/plachta/1.3.0_svelte@3.49.0:
|
/@damillora/plachta/1.7.0_svelte@3.49.0:
|
||||||
resolution: {integrity: sha512-QOgo/cXXncPsNlhYKZlKXWcveBnqO8DamLoHy6eQviMGmL7u2fLl6nY723m/rgIz0nsG+K5GU9KYr1HXLTFWUw==}
|
resolution: {integrity: sha512-CO1gAQ7BnvU9cbP8ahQkjVal1EwKJkLseU9UtTQbAGK23GYtgnT2bcNoKtS+iwRsOYH9zDp62ctliM5frs2baQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
svelte-material-icons: 2.0.2_svelte@3.49.0
|
svelte-material-icons: 2.0.2_svelte@3.49.0
|
||||||
svelte-themes: 0.0.98
|
svelte-themes: 0.0.98
|
||||||
|
@ -53,6 +53,12 @@
|
|||||||
export let nextPost: any;
|
export let nextPost: any;
|
||||||
export let relatedPost: any[];
|
export let relatedPost: any[];
|
||||||
|
|
||||||
|
onMount(() => {
|
||||||
|
if (browser) {
|
||||||
|
fitvids();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
afterNavigate(() => {
|
afterNavigate(() => {
|
||||||
if (browser) {
|
if (browser) {
|
||||||
fitvids();
|
fitvids();
|
||||||
|
Loading…
Reference in New Issue
Block a user