summaryrefslogtreecommitdiff
path: root/src/posts
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-12-18 21:18:16 -0800
committerElizabeth Hunt <me@liz.coffee>2025-12-18 21:18:16 -0800
commitea31ae742a06966c9223b03a27a3c271263424a0 (patch)
tree81d8e0ff6e583629557897b6dc7b84d3f15c80ca /src/posts
parent0888840cf20de2187095daa154ec441240a12ef3 (diff)
downloadlizdotcoffee-ea31ae742a06966c9223b03a27a3c271263424a0.tar.gz
lizdotcoffee-ea31ae742a06966c9223b03a27a3c271263424a0.zip
Init pt 2
Diffstat (limited to 'src/posts')
-rw-r--r--src/posts/TBD.md8
-rw-r--r--src/posts/hello-world.md34
2 files changed, 8 insertions, 34 deletions
diff --git a/src/posts/TBD.md b/src/posts/TBD.md
new file mode 100644
index 0000000..4de0c75
--- /dev/null
+++ b/src/posts/TBD.md
@@ -0,0 +1,8 @@
+---
+layout: base.njk
+title: Hello World
+subtitle: I've spent too much time on other stuff to write a first post on my blog recently but I have a lot I want to talk about so come back soon!
+date: 2025-12-14
+---
+
+## Hello World!
diff --git a/src/posts/hello-world.md b/src/posts/hello-world.md
deleted file mode 100644
index 22eef26..0000000
--- a/src/posts/hello-world.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-layout: base.njk
-title: Hello World
-date: 2025-12-14
----
-
-# Hello World!
-
-This is my first blog post. I can write regular markdown here.
-
-## Interactive Toy Example
-
-Here's a little interactive toy:
-
-<div id="color-toy" style="padding: 2rem; background: #f0f0f0; border-radius: 8px; text-align: center;">
- <button id="change-color">Click me!</button>
- <p id="color-display" style="margin-top: 1rem; font-weight: bold;">Color: #f0f0f0</p>
-</div>
-
-<script>
- const btn = document.getElementById('change-color');
- const display = document.getElementById('color-display');
- const toy = document.getElementById('color-toy');
-
- btn.addEventListener('click', () => {
- const randomColor = '#' + Math.floor(Math.random()*16777215).toString(16);
- toy.style.background = randomColor;
- display.textContent = 'Color: ' + randomColor;
- });
-</script>
-
-## More Content
-
-And I can continue writing markdown after the interactive bit!