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

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
---
title: Hello, world!
title: Kaixo, Mundua!
slug: hello-world
description: >-
This is an example blog!
Horrela hasten dira proiektu guztiak.
tags:
- personal
added: "May 01 2024"
added: "2025-11-3"
---
This is an example blog post!
Kaixo, Mundua! Horrela hasten dira proiektu guztiak frikien munduan. Nik nire proiektu hau horrela hasiko dut, espero dut jarraipena ematea. Nire blogarekin nator, edo nire interneteko txokoa, edo nire lorategi digitala. Edonola ere, korporazio teknokapitalisten atzaparretatik urrun mantenduz, nire pedradak, katxarreoak, eta abar luze bat partekatzeko asmoz sortu dut blog hau.

View File

@@ -1,104 +0,0 @@
---
title: Markdown Example
slug: markdown
description: >-
Check out how markdown is rendered!
tags:
- technical
added: "May 09 2024"
---
This is an example blog post!
# Heading 1
This is an example lil thingy wow look at me!
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
I'm baby tumblr deep v franzen [umami hammock](https://google.com) scenester retro VHS, pop-up truffaut tacos polaroid gochujang. Jean ugh _vexillologist snackwave keytar williamsburg bitters pinterest_. Photo booth schlitz quinoa tbh edison bulb vexillologist occupy single-origin dreamcatcher. **Chartreuse meggings gochujang synth.** Narwhal green juice snackwave thundercats kickstarter XOXO deep v.
1. numbered
2. list
3. of
4. items
Hello there, welcome to my list.
- list
- of
- items
- nested
- list
- wow
## Hello, babies, I think that you need to understand what a long line length is
V franzen umami hammock scenester retro VHS, pop-up truffaut tacos polaroid heirloom gochujang.
- [x] hello
- [ ] these
- [x] are
- [ ] tasks
**bold** _italic_
**_bold and italic_**
```js
// This is an example of some React
useEffect(() => {
let isCurrent = true;
if (isCurrent === true) {
fetch("...");
}
return () => {
isCurrent = false;
};
}, []);
```
Language-less:
```
useEffect(() => { // wow
let isCurrent = true;
if (isCurrent === true) {
fetch('...')
}
return () => {
isCurrent = false;
}
}, [])
```
A horizontal line:
---
Some inline `code` between normal text
> A blockquote, lorem ipsum dolor
Just some normal text, wow.
---
| Example table | Example things |
| ------------- | -------------- |
| What | how |
| Why | when |
Okay, that's it! Good luck! Write more! Follow your dreams!

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 />