Skip to content

Commit 92a4c35

Browse files
devel
1 parent 036ba86 commit 92a4c35

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

CLAUDE.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Claude Code Development Notes
2+
3+
This file tracks development decisions, patterns, and conventions for this Jekyll site.
4+
5+
## Include File Architecture
6+
7+
### Overview
8+
The site uses a modular include file structure that separates theme-specific components from site-specific customizations.
9+
10+
### File Structure
11+
```
12+
_includes/
13+
├── head.html → custom-head.html
14+
├── header.html → custom-header.html
15+
└── footer.html → custom-footer.html
16+
```
17+
18+
### Theme vs. Custom Content Division
19+
20+
#### Theme Files (Reusable/Portable)
21+
**`head.html`:**
22+
- Tailwind CSS CDN and configuration
23+
- Highlight.js syntax highlighting setup
24+
- Responsive viewport meta tags
25+
- Jekyll SEO and feed meta tags
26+
- Core fonts (JetBrains Mono, Inter)
27+
- Standard Jekyll integrations
28+
29+
**`header.html`:**
30+
- Responsive navigation structure
31+
- Mobile hamburger menu with JavaScript
32+
- Dropdown menu functionality
33+
- Tailwind utility classes for layout
34+
- Navigation component architecture
35+
36+
**`footer.html`:**
37+
- Responsive grid layout
38+
- RSS feed integration
39+
- Social media hooks
40+
- Standard author/contact patterns
41+
42+
#### Custom Files (Site-Specific)
43+
**`custom-head.html`:**
44+
- Google Analytics (moved from head.html)
45+
- Site-specific meta tags
46+
- Custom favicons
47+
- Additional tracking codes
48+
- Site-specific fonts/styling
49+
50+
**`custom-header.html`:**
51+
- Site announcements
52+
- Additional navigation items
53+
- Search functionality
54+
- Custom branding elements
55+
56+
**`custom-footer.html`:**
57+
- Copyright notices
58+
- Privacy/terms links
59+
- Newsletter signup
60+
- Legal disclaimers
61+
- Additional contact info
62+
63+
### Usage Guidelines
64+
1. **Keep theme files portable** - Avoid site-specific content
65+
2. **Use custom files for personalization** - Analytics, branding, site-specific features
66+
3. **Maintain consistent patterns** - Each major section has theme + custom pair
67+
4. **Document customizations** - Add comments explaining site-specific additions
68+
69+
This architecture allows for easy theme updates while preserving site customizations.

0 commit comments

Comments
 (0)