fix: lighthouse issues
This commit is contained in:
parent
91182a834c
commit
a31e367ef5
3 changed files with 97 additions and 64 deletions
38
public/robots.txt
Normal file
38
public/robots.txt
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
User-agent: GPTBot
|
||||
Disallow: /
|
||||
|
||||
User-agent: ChatGPT-User
|
||||
Disallow: /
|
||||
|
||||
User-agent: Google-Extended
|
||||
Disallow: /
|
||||
|
||||
User-agent: CCBot
|
||||
Disallow: /
|
||||
|
||||
User-agent: anthropic-ai
|
||||
Disallow: /
|
||||
|
||||
User-agent: Claude-Web
|
||||
Disallow: /
|
||||
|
||||
User-agent: cohere-ai
|
||||
Disallow: /
|
||||
|
||||
User-agent: Omgilibot
|
||||
Disallow: /
|
||||
|
||||
User-agent: Omgili
|
||||
Disallow: /
|
||||
|
||||
User-agent: FacebookBot
|
||||
Disallow: /
|
||||
|
||||
User-agent: Amazonbot
|
||||
Disallow: /
|
||||
|
||||
# Common AI scraper endpoints
|
||||
Disallow: /*?*source=
|
||||
Disallow: /*?*ref=
|
||||
Disallow: /*?*ai=
|
||||
Disallow: /*&*ai=
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
pubDate: '2025-01-02'
|
||||
title: 'Building a CV verification tool in Typst, Astro and Cloudflare D1'
|
||||
description: ""
|
||||
description: "Technical details on how I built a CV verification tool in Typst, Astro and Cloudflare D1."
|
||||
keywords:
|
||||
- CV
|
||||
- verification
|
||||
|
|
|
|||
|
|
@ -15,11 +15,7 @@ const { title, description, pubDate, updatedDate, heroImage, readingTime } =
|
|||
<BaseLayout title={title} description={description}>
|
||||
<article>
|
||||
<div class="hero-image">
|
||||
{
|
||||
heroImage && (
|
||||
<Picture src={heroImage} alt="" width={1020} height={510} />
|
||||
)
|
||||
}
|
||||
{heroImage && <Picture src={heroImage} alt="" width={752} />}
|
||||
</div>
|
||||
<div class="prose">
|
||||
<div class="title">
|
||||
|
|
@ -28,8 +24,7 @@ const { title, description, pubDate, updatedDate, heroImage, readingTime } =
|
|||
{
|
||||
updatedDate && (
|
||||
<div class="last-updated-on">
|
||||
Last updated on{" "}
|
||||
<FormattedDate date={updatedDate} />
|
||||
Last updated on <FormattedDate date={updatedDate} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue