From f2e62953190ab50b30c5dd21e654db2d55a83a9e Mon Sep 17 00:00:00 2001 From: DanielWElliott <49175462+DanielWElliott@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:39:51 -0400 Subject: [PATCH] Added a blog page with 3 md posts and started using variables --- src/pages/about.astro | 36 +++++++++++++++++++++++++++++++++--- src/pages/blog.astro | 11 ++++++++--- src/pages/index.astro | 6 +++--- src/pages/posts/post-1.md | 27 +++++++++++++++++++++++++++ src/pages/posts/post-2.md | 11 +++++++++++ src/pages/posts/post-3.md | 11 +++++++++++ 6 files changed, 93 insertions(+), 9 deletions(-) create mode 100644 src/pages/posts/post-1.md create mode 100644 src/pages/posts/post-2.md create mode 100644 src/pages/posts/post-3.md diff --git a/src/pages/about.astro b/src/pages/about.astro index 34a6276..9c62a8c 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,5 +1,18 @@ --- +const pageTitle = "About Me"; +const identity = { + firstName: "Daniel", + country: "Narnia", + occupation: "Son of Adam", + hobbies: ["reading","homelabbing","making things"], +} + +const skills = ["HTML", "CSS", "JavaScript", "React", "Astro", "Writing Docs"]; + +const happy = true; +const finished = false; +const goal = 3; --- @@ -8,17 +21,34 @@ -
I am working through Astro's introductory tutorial. This is the second page on my first Astro website, and it's the first page I've added myself!
This site will update as I complete more of the tutorial, so keep checking back to see my progress and see how my journey is going! I'm already deviating from the tutorial a little bit, since I'm using GitHub Pages to host it instead of Netlify.
- +Here are a few facts about me:
+My skills are:
+I am happy to be learning Astro!
} + + {finished &&I finished this tutorial!
} + + {goal === 3 ?My goal is to finish in 3 days.
:My goal is not 3 days.
} +