Directory Overview
The website uses a flat structure optimized for static hosting on Netlify:This is a static website with no build step required beyond the blog post indexing script.
Core HTML Pages
The website consists of four main pages that share a common structure:Homepage (index.html)
The main landing page featuring:
- Hero section with gradient background
- Personal introduction and bio
- Terminal animation component
- Call-to-action buttons
- Social media links in footer
About Page (about.html)
Personal biography and site history:
- Detailed professional background
- Site evolution timeline
- Skills and interests
Contact Page (contact.html)
Contact form integration:
- Formspree integration for form handling
- Privacy information
- Email and message fields
Common Page Structure
All HTML pages follow this consistent structure:Asset Organization
Styles Directory
styles.css file contains:
- Custom animations (pulse, typewriter, glow)
- Terminal component styles
- Blog post list styles
- Responsive social icon sizing
- Gradient backgrounds
External Assets
Images and some scripts are hosted externally:- Images:
https://milesonerd.github.io/assets/image/ - Scripts:
https://milesonerd.github.io/assets/scripts/functions.js - Favicons: Multiple sizes for different devices
Blog System
The blog uses a simple but effective structure:Blog Post Processing
Blog Post Processing
Configuration Files
netlify.toml
Deployment configuration for Netlify:dist/_headers
HTTP headers for security and caching (placed in thedist/ directory).
Navigation Structure
The site uses a consistent navigation pattern:Key Navigation Features
- Fixed header with backdrop blur effect
- Responsive mobile menu (hidden on mobile by default)
- Logo linking to homepage
- External link to alternative site (milesonerd.github.io)
Footer Structure
The footer is shared across all pages and includes:- Brand Section: Logo and tagline
- Social Icons: 16+ social media platforms with responsive sizing
- Website Info: Repository links, licenses, hosting info
- Resources: Links to related projects (Neurenix, Closure Next)
- Legal Links: Terms, Privacy, Cookies, Accessibility
Key Directories Explained
/ (Root)
/ (Root)
Contains all main HTML pages and configuration files. The root level is the publish directory for Netlify.
assets/
assets/
Houses all custom CSS and styles. Currently contains only the
styles.css file, but organized for future expansion.blog/
blog/
Complete blog system with:
index.html- Blog listing pageposts/- Markdown blog postsscripts/- JavaScript for post loadingupdate-posts.sh- Build-time indexing scriptposts.json- Generated index file
dist/
dist/
Distribution files like HTTP headers that need to be served alongside the site.
.github/
.github/
GitHub Actions workflows for:
- Automatic deployment
- Weekly builds
- Copyright year updates
File Naming Conventions
- HTML Pages: Lowercase with hyphens (e.g.,
index.html,about.html) - Blog Posts: Date-prefixed Markdown (e.g.,
05-10-2025.md) - Styles: Descriptive names (e.g.,
styles.css) - Scripts: Descriptive names (e.g.,
list-posts.js,update-posts.sh)
Dependencies
The site relies on these CDN-hosted libraries:No package.json or node_modules required - all dependencies are loaded via CDN.
Next Steps
Styling Guide
Learn about the CSS architecture and Tailwind usage
Deployment
Understand the build and deployment process

