6 Commits

Author SHA1 Message Date
863661612a ## Major CodePress CMS Enhancement
### 🚀 New Features
- **League CommonMark Integration**: Replaced basic Markdown parser with full CommonMark 2.7 support
- **Bootstrap Sass Architecture**: Modern SCSS build system with Bootstrap 5.3.8
- **Enhanced Navigation**: Uses filenames instead of H1 titles for consistency
- **Improved Styling**: Transparent navigation backgrounds, no rounded corners

### 🎨 UI/UX Improvements
- Navigation items now use formatted filenames (e.g., "kennis-boven-aantallen" → "Kennis Boven Aantallen")
- Transparent navigation backgrounds with subtle hover effects
- Removed rounded corners from first-level navigation
- 50% opacity navigation background using Bootstrap variables

### 🔧 Technical Improvements
- **Class Organization**: Extracted CodePressCMS and SimpleTemplate to separate files
- **Full PHPDoc Documentation**: Complete documentation for all methods
- **Modern Build Process**: npm scripts for SCSS compilation
- **Enhanced Markdown Support**: Tables, strikethrough, task lists, autolinks
- **Security**: Proper HTML sanitization with CommonMark

### 📦 Dependencies
- Added `league/commonmark` for professional Markdown parsing
- Added `bootstrap` for SCSS-based styling
- Updated `sass` build process

### 🐛 Bug Fixes
- Fixed content directory path configuration
- Resolved navigation title inconsistencies
- Improved Markdown bold/italic formatting
- Fixed homepage 404 issues

### 🔄 Migration Notes
- Content directory moved from `content/` to `public/content/`
- Navigation now displays filenames instead of content H1 titles
- CSS now compiled from SCSS source files

The CMS now provides a professional, modern experience with robust Markdown support and clean, maintainable code architecture.
2025-11-21 20:23:20 +01:00
494ae7dc3b Restructure project for security and offline capability
- Move content outside public web root for security
- Consolidate all code and assets in engine/ directory
- Download Bootstrap locally for offline functionality
- Update public/ to contain only entry point files
- Add router.php for PHP development server security
- Update README.md with new structure and setup instructions
- Block direct access to content files via URL
- Maintain clean separation between content and code
2025-11-19 17:05:25 +01:00
ab54985176 Fix sidebar toggle and add title to Home link
- Added sidebar toggle button with proper CSS and JavaScript
- Fixed missing sidebar toggle functionality in template
- Added title attribute to Home link for better UX
- Sidebar now properly slides in/out with smooth animations
- All toggle functionality working correctly
2025-11-19 14:43:28 +01:00
35a990ecf3 Add remaining blog content from noorlander.info
- Added 'Wat is Arduino' in micro-electronica category
- Added 'Leren gaat niet over perfectie' with open-source explanation
- Added 'De ware aard van ICT' in hardware category
- Added 'Commodore 64' in retro-gaming category
- Updated home.md with all new category links
- Complete blog content now available (10 articles total)
2025-11-19 14:19:29 +01:00
e5839d10a1 Add remaining blog content from noorlander.info
- Added 'Excel als Database' article in ICT category
- Added 'Open Source Voorbeelden' article in Linux category
- Updated home.md with new category links
- Complete blog content now available
- All 6 articles from noorlander.info imported
2025-11-19 14:16:18 +01:00
2e5672ee60 Add secure public directory structure with .htaccess
- Created public/ directory for web-accessible files
- Moved content and assets to public/ subdirectories
- Added .htaccess files for security and routing
- Updated config.php to use public/content path
- Blocked direct access to PHP files and sensitive directories
- Added URL routing to index.php
- Enhanced security headers and PHP settings
2025-11-19 14:00:03 +01:00