edukia: lehenengo post-a
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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} />
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user