Update about me and blog plost example

This commit is contained in:
Krem 2025-10-16 21:00:49 +02:00
parent 5ec2633ff4
commit 961ead7446
3 changed files with 19 additions and 29 deletions

View File

@ -4,18 +4,29 @@ date: 2025-10-16
description: "This is my first blog post" description: "This is my first blog post"
--- ---
# Welcome to my blog! # This is an example blog post.
This is the content of my first blog post. This is the content of my first example blog post. Just trying to see how this looks on my webpage. Not much to look at here. A "work in progress" as they say.
## Features ## Features
- Markdown support - Yes!
- Code blocks - No!
- And more! - Maybe!
# Hello World ### Python Code:
```python
def print_asterisk_tree(height):
for i in range(1, height + 1):
spaces = ' ' * (height - i)
asterisks = '*' * (2 * i - 1)
print(spaces + asterisks)
# Example usage:
print_asterisk_tree(5)
```
### Javascript Code:
```javascript ```javascript
console.log("Hello, world!"); console.log("Hello, world!");
``` ```

View File

@ -1,21 +0,0 @@
---
title: "My First Blog Post"
date: 2025-10-16
description: "This is my first blog post"
---
# Welcome to my blog!
This is the content of my first blog post.
## Features
- Markdown support
- Code blocks
- And more!
# Hello World
```javascript
console.log("Hello, world!");
```

View File

@ -12,8 +12,8 @@ import Socials from "../components/Socials.astro";
const variables = { const variables = {
name: "Kristian Emil Takvam", name: "Kristian Emil Takvam",
subtitles: subtitles:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent lobortis nisi ante, nec tincidunt ligula mattis nec. Maecenas metus mauris, fermentum et vulputate ut, dapibus vel massa.", "This is my blog where I share my thoughts on programming, technology, and life in general. Stay tuned for updates!",
}; };
--- ---
<Layout title={variables.name}> <Layout title={variables.name}>