From 1cff8399eae4b47c699bbf267eb6ae2566684f5a Mon Sep 17 00:00:00 2001 From: andwati Date: Wed, 18 Mar 2026 23:47:11 +0300 Subject: [PATCH] feat: Implement heading anchor links with interactive styling and add script for functionality --- TODO.md | 11 +---------- sass/_article.scss | 25 +++++++++++++++++++++++++ static/js/heading-anchors.js | 15 +++++++++++++++ templates/page.html | 3 +++ 4 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 static/js/heading-anchors.js diff --git a/TODO.md b/TODO.md index af86217..731e122 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,6 @@ ## UI / UX Polish -- [ ] **Heading Anchor Links** — Add an interactive `#` link that appears when hovering over `

` and `

` tags to make linking to specific sections easier. +- [x] **Heading Anchor Links** — Add an interactive `#` link that appears when hovering over `

` and `

` tags to make linking to specific sections easier. - [x] **Custom Terminal Scrollbars** — Style the browser's default scrollbar to match the dark terminal - [ ] **Custom 404 Page** — Design an interactive terminal-style 404 page ("Command not found") that fits the pwnforfunandprofit theme. @@ -8,12 +8,3 @@ ## Features & Content - [ ] **Post Series Support** — Add a `series` front-matter field to automatically group related tutorials (e.g., "Buffer Overflows Part 1, 2, 3") and render a "Part N of X" navigation box. - -## Performance & SEO - - -- [x] **Lazy Loading** — Ensure all `` and `