diff --git a/src/content/blog/first-post.md b/src/content/blog/first-post.md index a322529..f73a829 100644 --- a/src/content/blog/first-post.md +++ b/src/content/blog/first-post.md @@ -4,18 +4,29 @@ date: 2025-10-16 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 -- Markdown support -- Code blocks -- And more! +- Yes! +- No! +- 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 console.log("Hello, world!"); ``` \ No newline at end of file diff --git a/src/content/blog/second-post.md b/src/content/blog/second-post.md deleted file mode 100644 index a322529..0000000 --- a/src/content/blog/second-post.md +++ /dev/null @@ -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!"); -``` \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 3152255..999a8c8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,8 +12,8 @@ import Socials from "../components/Socials.astro"; const variables = { name: "Kristian Emil Takvam", 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!", +}; ---