From c09461f9c9f63ba4985e5198d32a375dd44f2f5d Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 24 Nov 2025 08:58:47 -0600 Subject: [PATCH] feat: make age dynamic --- .github/workflows/pull_request.yml | 1 + internal/assets/templates/index.gohtml | 3 ++- internal/handlers/main.go | 23 +++++++++++++++++++++-- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..af860d4 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1 @@ +# TODO: implement pull request workflow diff --git a/internal/assets/templates/index.gohtml b/internal/assets/templates/index.gohtml index 024c6cd..e12222b 100644 --- a/internal/assets/templates/index.gohtml +++ b/internal/assets/templates/index.gohtml @@ -13,11 +13,12 @@
I'm a 32-year old dad of 2 who enjoys drinking coffee, lifting weights, and solving problems with code.
+I'm a {{ .Age }}-year old dad of 2 who enjoys drinking coffee, lifting weights, and solving problems with code.