Skip to content

Commit

Permalink
seo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzem committed Oct 27, 2024
1 parent 70d4a5b commit 89709aa
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
25 changes: 25 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,31 @@ export default function RootLayout({
}>) {
return (
<html lang='fr'>
<head>
<script
type='application/ld+json'
dangerouslySetInnerHTML={{
__html: JSON.stringify({
'@context': 'http://schema.org',
'@type': 'BreadcrumbList',
itemListElement: [
{
'@type': 'ListItem',
position: 1,
name: "Voitures d'occasion en Tunisie",
item: 'https://autocentral.tn'
}
// {
// '@type': 'ListItem',
// position: 2,
// name: 'Fiche technique',
// item: 'https://autocentral.tn/fiche-technique'
// }
]
})
}}
/>
</head>
<body
className={`${inter.className} flex flex-col min-h-screen bg-blackopac`}
>
Expand Down
3 changes: 3 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://autocentral.tn/sitemap.xml
8 changes: 8 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://autocentral.tn</loc>
<changefreq>always</changefreq>
<priority>1</priority>
</url>
</urlset>

0 comments on commit 89709aa

Please sign in to comment.