fix: lang on html el

Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
This commit is contained in:
Filipe Medeiros 2023-04-17 10:03:45 +01:00
parent 091d0538f9
commit 15550b837d
Signed by: filipe
GPG key ID: 9533BD5467CC1E78
8 changed files with 8 additions and 23 deletions

View file

@ -21,7 +21,7 @@ const libraryItems: {
title="Biblioteca - Filipe Medeiros"
ptUrl="/biblioteca"
enUrl="/library"
lang="pt_PT"
lang="pt"
>
<header class="mb-10">
<PageTitle class="mb-3">Biblioteca</PageTitle>

View file

@ -54,7 +54,7 @@ const { slug } = Astro.params;
title={`${title} - Filipe Medeiros`}
ptUrl={`/blogue/${slug}`}
enUrl={`/blog/${slug}`}
lang="en_EN"
lang="en"
>
<BlogPostMetadata
slot="metadata"

View file

@ -18,12 +18,7 @@ const posts: {
});
---
<Layout
title="Blog - Filipe Medeiros"
ptUrl="/blogue"
enUrl="/blog"
lang="en_EN"
>
<Layout title="Blog - Filipe Medeiros" ptUrl="/blogue" enUrl="/blog" lang="en">
<header class="mb-10">
<PageTitle class="mb-3">Blog</PageTitle>
<h2>Uma coleção de artigos que vou escrevendo. Sobretudo por diversão.</h2>

View file

@ -55,7 +55,7 @@ const { slug } = Astro.params;
title={`${title} - Filipe Medeiros`}
ptUrl={`/blogue/${slug}`}
enUrl={`/blog/${slug}`}
lang="pt_PT"
lang="pt"
>
<BlogPostMetadata
slot="metadata"

View file

@ -17,12 +17,7 @@ const posts: {
});
---
<Layout
title="Blog - Filipe Medeiros"
ptUrl="/blogue"
enUrl="/blog"
lang="pt_PT"
>
<Layout title="Blog - Filipe Medeiros" ptUrl="/blogue" enUrl="/blog" lang="pt">
<header class="mb-10">
<PageTitle class="mb-3">Blogue</PageTitle>
<h2>Uma coleção de artigos que vou escrevendo. Sobretudo por diversão.</h2>

View file

@ -5,12 +5,7 @@ import PageTitle from '../components/PageTitle.astro';
import Layout from '../layouts/Layout.astro';
---
<Layout
title="Home page - Filipe Medeiros"
ptUrl="/"
enUrl="/home"
lang="en_EN"
>
<Layout title="Home page - Filipe Medeiros" ptUrl="/" enUrl="/home" lang="en">
<PageTitle class="mb-10">
Filipe<br />Medeiros
</PageTitle>

View file

@ -9,7 +9,7 @@ import Layout from '../layouts/Layout.astro';
title="Página inicial - Filipe Medeiros"
ptUrl="/"
enUrl="/home"
lang="pt_PT"
lang="pt"
>
<PageTitle class="mb-10">
Filipe<br />Medeiros

View file

@ -21,7 +21,7 @@ const libraryItems: {
title="Biblioteca - Filipe Medeiros"
ptUrl="/biblioteca"
enUrl="/library"
lang="en_EN"
lang="en"
>
<header class="mb-10">
<PageTitle class="mb-3">Library</PageTitle>