Blackthorn Field Notes Repository Map
Blackthorn Field Notes Repository Map
This file documents what lives where in the site so future changes can stay scoped, surgical, and reviewable.
Working Rules
Before changing code:
- Identify the behavior or visual issue.
- Locate the file that owns it.
- Read the current implementation.
- Change only the affected lines.
- Touch another file only if it directly supports that change.
- Avoid whole-file reconstruction, especially in layouts, includes, CSS, and posts.
High-Risk / Patch-Only Files
These files affect broad areas of the site and should only receive small targeted edits.
_layouts/default.html
Owns the global page shell.
Known responsibilities:
- document head
- global stylesheets
- SEO tag placement
- Cloudflare analytics script
- skip link
- site navigation include
- accessibility / reading controls
- main content wrapper
- site footer
- global display preference script
Change only when modifying global page structure, globally loaded CSS/JS, footer markup, or sitewide controls.
assets/css/style.scss
Owns core theme and layout styling.
Known responsibilities:
- light/dark theme variables
- base typography and colors
- wrapper width
- header/footer base styling
- site navigation styling
- mobile navigation styling
- article spacing
- responsive post title sizing
- homepage/card spacing
- author photo layout
- share controls
- print styling
- support buttons
- Follow.it subscribe form styling
- footer base color rules
Use this for core theme and structural styling. Avoid large rewrites.
assets/css/enhancements.css
Owns incremental post-launch visual/UX overrides.
Known responsibilities:
- mobile navigation overflow fix
- support button vertical centering
- unified navigation branding/logo styling
- accessibility control styling
- search spacing overrides
- homepage hierarchy spacing overrides
Use this for small visible refinements that do not require changing core Sass structure.
assets/js/search.js
Owns homepage search behavior.
Known responsibilities:
- loads
/search.json - reads
#search-input - writes results into
#search-results - searches title, description, categories, tags, and content
- limits results to 10
- renders empty search state
- renders result title, metadata, and excerpt
Use this only for search behavior changes. Search styling belongs in CSS.
index.md
Owns homepage structure/content.
Known sections:
- hero/banner image
- tagline and homepage intro text
- Start Here call-to-action
- homepage search block
- featured posts block
- latest posts block
- category link grid
- subscribe callout
- search script include
Use this for homepage content and structural changes only.
Functional Ownership Map
Homepage Search
Files involved:
index.md— search markup and helper textassets/js/search.js— search behavior and result renderingassets/css/enhancements.css— search spacing refinements/search.json— generated search data/index
Homepage Layout / Visual Hierarchy
Files involved:
index.md— section order and homepage markupassets/css/style.scss— core homepage/card stylingassets/css/enhancements.css— small spacing refinements
Categories Wayfinding
Files involved:
categories.html— top-level category guide and category grid descriptionscategories/— individual category landing pages_data/navigation.yml— category dropdown order in the global navigationassets/css/style.scss— category grid styling
Global Site Shell
Files involved:
_layouts/default.html— global HTML shell_includes/site-nav.html— navigation include if present/usedassets/css/style.scss— global layout/theme stylingassets/css/enhancements.css— incremental global visual refinements
Articles / Posts
Files involved:
_posts/— individual article contentassets/css/style.scss— article spacing, headings, metadata, print behavior- layout files — post shell if customized
Do not modify posts during unrelated site layout work.
Footer
Files involved:
_layouts/default.html— footer markupassets/css/style.scss— footer base stylingassets/css/enhancements.css— small footer refinements if added later
Accessibility / Reader Controls
Files involved:
_layouts/default.html— controls markup and preference scriptassets/css/enhancements.css— control styling
Production Smoke Testing
Files involved:
docs/qa/live-production-smoke-test.md— checklist for live desktop, mobile, article, search, and subscribe checks after deployment
Unmapped / Needs Future Inspection
These areas should be inspected before changing:
- category page templates/layouts
_includes/contents beyond known navigation use- standalone pages beyond homepage
- search index generation source
- News page structure
- subscribe page structure
- support page structure
Change Scope Examples
Add helper text under homepage search
Expected files:
index.md
Optional only if styling is needed:
assets/css/enhancements.css
Change search result behavior
Expected files:
assets/js/search.js
Optional only if visual spacing changes:
assets/css/enhancements.css
Change search spacing
Expected files:
assets/css/enhancements.css
Change global footer markup
Expected files:
_layouts/default.html
Optional only if styling changes:
assets/css/style.scssorassets/css/enhancements.css
Change article typography
Expected files:
assets/css/style.scss
Do not edit posts unless content itself is changing.
Maintenance Notes
This map should be updated whenever a new major file, template, include, or ownership boundary is discovered.
The goal is to prevent accidental scope creep, unrelated file edits, truncation, and whole-file rewrites.