diff --git a/.planning/STATE.md b/.planning/STATE.md index 9da1556..df70c87 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -12,7 +12,7 @@ See: .planning/PROJECT.md (updated 2026-02-27) Phase: 1 of 2 (Code Quality) Plan: 0 of TBD in current phase Status: Ready to plan -Last activity: 2026-03-01 - Completed quick task 1: Move blog posts from HTML to Markdown format +Last activity: 2026-03-01 - Completed quick task 3: Setup RSS feed at /feed.xml Progress: [░░░░░░░░░░] 0% @@ -59,9 +59,11 @@ None yet. | # | Description | Date | Commit | Directory | |---|-------------|------|--------|-----------| | 1 | Move blog posts from HTML to Markdown format | 2026-03-01 | c5ec251 | [1-move-blog-posts-from-html-to-markdown-fo](./quick/1-move-blog-posts-from-html-to-markdown-fo/) | +| 2 | Add About and GitHub links to site footer | 2026-03-01 | ddb63e0 | [2-add-about-link-and-github-link-to-the-si](./quick/2-add-about-link-and-github-link-to-the-si/) | +| 3 | Setup RSS feed at /feed.xml | 2026-03-01 | c76b0a7 | [3-setup-an-rss-feed-at-the-feed-xml-destin](./quick/3-setup-an-rss-feed-at-the-feed-xml-destin/) | ## Session Continuity -Last session: 2026-02-27 -Stopped at: Roadmap created, ready to plan Phase 1 +Last session: 2026-03-01 +Stopped at: Completed quick task 3: Setup RSS feed at /feed.xml Resume file: None diff --git a/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-PLAN.md b/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-PLAN.md new file mode 100644 index 0000000..1994c41 --- /dev/null +++ b/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-PLAN.md @@ -0,0 +1,122 @@ +--- +phase: quick +plan: 2 +type: execute +wave: 1 +depends_on: [] +files_modified: + - internal/templates/base.html + - static/css/style.css +autonomous: true +requirements: [] + +must_haves: + truths: + - "Footer displays an About link that navigates to /about" + - "Footer displays a GitHub link that opens https://github.com/NickFoden in a new tab" + - "Links are visually distinct from the copyright text" + artifacts: + - path: "internal/templates/base.html" + provides: "Footer with About and GitHub links" + contains: "/about" + - path: "static/css/style.css" + provides: "Footer link styling" + contains: "footer a" + key_links: + - from: "internal/templates/base.html" + to: "/about" + via: "anchor href" + pattern: "href=.*/about" + - from: "internal/templates/base.html" + to: "https://github.com/NickFoden" + via: "anchor href with target=_blank" + pattern: "href=.*github.com/NickFoden" +--- + + +Add About and GitHub links to the site footer in base.html. + +Purpose: Give visitors easy navigation to the About page and the project's GitHub profile from every page on the site. +Output: Updated base.html footer with two links, styled consistently with the site. + + + +@/Users/nicholasfoden/.claude/get-shit-done/workflows/execute-plan.md +@/Users/nicholasfoden/.claude/get-shit-done/templates/summary.md + + + +@internal/templates/base.html +@static/css/style.css + + + + + + Task 1: Add About and GitHub links to footer + internal/templates/base.html, static/css/style.css + + In internal/templates/base.html, update the footer section (lines 36-48). Add a navigation row of links above the existing copyright paragraph. The links should be: + 1. "About" linking to "/about" + 2. "GitHub" linking to "https://github.com/NickFoden" with target="_blank" and rel="noopener noreferrer" + + Structure the footer as: + ```html +
+ +

+ ... existing copyright content ... +

+
+ ``` + + In static/css/style.css, add styles for the footer navigation after the existing `footer p` rule (after line 21): + + ```css + footer nav.footer_nav { + display: flex; + justify-content: center; + gap: 24px; + margin-bottom: 12px; + } + + footer nav.footer_nav a { + font-size: 14px; + text-decoration: none; + } + + footer nav.footer_nav a:hover { + text-decoration: underline; + } + ``` + + Keep the links simple and consistent with the existing minimal site style. Use plain black links (already handled by the global `a` color rule) with underline on hover. +
+ + Run `go build ./...` to confirm no build errors. Then run `go run main.go &` and use `curl -s http://localhost:8080 | grep -A5 'footer'` to verify the footer contains both links. Kill the server after verification. + + + Footer on every page shows "About" link pointing to /about and "GitHub" link pointing to https://github.com/NickFoden opening in a new tab. Links are centered above the copyright line with consistent spacing. + +
+ +
+ + +- `go build ./...` succeeds +- Footer HTML contains `About` +- Footer HTML contains `GitHub` +- CSS file contains `footer_nav` styles +- Links render on all pages (base.html is the shared layout) + + + +Every page on the site displays footer links to About and GitHub, styled consistently with the minimal site design. + + + +After completion, create `.planning/quick/2-add-about-link-and-github-link-to-the-si/2-SUMMARY.md` + diff --git a/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-SUMMARY.md b/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-SUMMARY.md new file mode 100644 index 0000000..6cd5a25 --- /dev/null +++ b/.planning/quick/2-add-about-link-and-github-link-to-the-si/2-SUMMARY.md @@ -0,0 +1,89 @@ +--- +phase: quick +plan: 2 +subsystem: ui +tags: [html, css, footer, navigation] + +# Dependency graph +requires: [] +provides: + - Footer navigation with About (/about) and GitHub (https://github.com/NickFoden) links on every page +affects: [ui, templates] + +# Tech tracking +tech-stack: + added: [] + patterns: [footer nav with centered flex layout, external links use rel="noopener noreferrer"] + +key-files: + created: [] + modified: + - internal/templates/base.html + - static/css/style.css + +key-decisions: + - "Links placed in a