Fix images dimensions and favicon (#19)
* fix video url * update deploy script for using rsync * remove delete from script * translate resources page * fix images dimensions and favicon
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
import Header from "@/components/header.astro";
|
||||
import Navigation from "@/components/navigation";
|
||||
import Footer from "@/components/footer";
|
||||
import { getLangFromUrl } from "@/i18n/utils";
|
||||
import "@/styles/globals.css";
|
||||
import { getLangFromUrl } from "../i18n/utils";
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
@ -11,7 +11,6 @@ interface Props {
|
||||
}
|
||||
|
||||
const lang = getLangFromUrl(Astro.url);
|
||||
|
||||
const { title, description } = Astro.props;
|
||||
---
|
||||
|
||||
@ -20,25 +19,27 @@ const { title, description } = Astro.props;
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="description" content={description} />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link
|
||||
rel="alternate icon"
|
||||
href="/favicon.ico"
|
||||
type="image/png"
|
||||
sizes="16x16"
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
title="juancmandev"
|
||||
type="application/rss+xml"
|
||||
href={new URL("feed.xml", Astro.site)}
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
title="juancmandev"
|
||||
type="application/rss+xml"
|
||||
href={new URL("feed.xml", `${Astro.site}/es/`)}
|
||||
/>
|
||||
<link rel="icon" type="image/png" href="/logo.png" sizes="16x16" />
|
||||
{
|
||||
lang === "en" && (
|
||||
<link
|
||||
rel="alternate"
|
||||
title="juancmandev"
|
||||
type="application/rss+xml"
|
||||
href={new URL("feed.xml", Astro.site)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
{
|
||||
lang === "es" && (
|
||||
<link
|
||||
rel="alternate"
|
||||
title="juancmandev"
|
||||
type="application/rss+xml"
|
||||
href={new URL("feed.xml", `${Astro.site}/es/`)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{title}</title>
|
||||
|
Reference in New Issue
Block a user