docs+fix: nettoyage post-migration et conformité svelte-autofixer
- CONTRIBUTING.md et SEO.md réécrits pour la structure SvelteKit
- README : section documents de référence (charte, recette, AGENTS.md, guides Svelte 5)
- Liens internes via resolve()/asset() de $app/paths, externes en rel="external"
- Seo.svelte : JSON-LD construits dans le script (</script> échappé)
- Titres de sections : {' '} remplacé par  
- Renommage svelte_core_bestpractices.md
- Passe svelte-autofixer : 0 issue restante hors {@html} first-party assumés
This commit is contained in:
@@ -66,6 +66,11 @@
|
||||
url: 'https://o-k-i.net'
|
||||
}
|
||||
});
|
||||
|
||||
// {@html} sur contenu first-party (JSON-LD généré au build, aucune donnée utilisateur).
|
||||
// `<\/script>` : échappement requis pour ne pas fermer le bloc <script> du composant.
|
||||
const orgJsonLdScript = $derived(`<script type="application/ld+json">${orgJsonLd}<\/script>`);
|
||||
const djangokamJsonLdScript = `<script type="application/ld+json">${djangokamJsonLd}<\/script>`;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -97,6 +102,6 @@
|
||||
<meta name="twitter:image" content="https://o-k-i.net/images/logo-512x512.png" />
|
||||
<meta name="twitter:image:alt" content="Logo {site.name}" />
|
||||
|
||||
{@html `<script type="application/ld+json">${orgJsonLd}</script>`}
|
||||
{@html `<script type="application/ld+json">${djangokamJsonLd}</script>`}
|
||||
{@html orgJsonLdScript}
|
||||
{@html djangokamJsonLdScript}
|
||||
</svelte:head>
|
||||
|
||||
Reference in New Issue
Block a user