edukia: lehenengo post-a

This commit is contained in:
2025-11-03 18:24:46 +01:00
parent 35c032972e
commit 8bf27a5ef6
9 changed files with 14 additions and 118 deletions

View File

@@ -6,7 +6,7 @@ const { slug, title, tags, description, date } = Astro.props;
<a href={`/post/${slug}/`} class="title">{title}</a>
<time datetime={date}>
{
new Date(date).toLocaleDateString("en-us", {
new Date(date).toLocaleDateString("eu", {
year: "numeric",
month: "short",
day: "numeric",

View File

@@ -15,7 +15,7 @@ let {
} = Astro.props;
added = new Date(added).toLocaleDateString(
"en-us",
"eu",
{
year: "numeric",
month: "short",
@@ -25,7 +25,7 @@ added = new Date(added).toLocaleDateString(
if (updated) {
updated = new Date(updated).toLocaleDateString(
"en-us",
"eu",
{
year: "numeric",
month: "short",
@@ -35,7 +35,7 @@ if (updated) {
}
---
<html lang="en-us">
<html lang="eu">
<BaseHead title={title} description={description} />
<body>

View File

@@ -13,12 +13,12 @@ const tags = getTags(posts);
---
<!doctype html>
<html lang="en-us">
<html lang="eu">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
<Header title={SITE_TITLE} />
<main>
404: Page not found
404: Ez da orria aurkitu
<Tags tags={tags} all />
</main>

View File

@@ -15,7 +15,7 @@ const tags = getTags(posts);
---
<!doctype html>
<html lang="en-us">
<html lang="eu">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
<Header title={SITE_TITLE} />

View File

@@ -18,7 +18,7 @@ posts = posts.sort(
---
<!doctype html>
<html lang="en-us">
<html lang="eu">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
<Header />

View File

@@ -40,7 +40,7 @@ let sortedPosts = tag.sort(
---
<!DOCTYPE html>
<html lang="en-us">
<html lang="eu">
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
<body>
<Header />