jekyll-theme-zer0 0.10.0 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +161 -0
  3. data/README.md +495 -720
  4. data/_includes/components/cookie-consent.html +2 -2
  5. data/_includes/components/mermaid.html +98 -9
  6. data/_includes/components/post-card.html +2 -2
  7. data/_includes/content/intro.html +13 -1
  8. data/_includes/content/sitemap.html +4 -9
  9. data/_includes/core/header.html +1 -1
  10. data/_includes/stats/stats-categories.html +5 -5
  11. data/_includes/stats/stats-header.html +7 -7
  12. data/_includes/stats/stats-metrics.html +8 -8
  13. data/_includes/stats/stats-no-data.html +9 -9
  14. data/_includes/stats/stats-overview.html +4 -4
  15. data/_includes/stats/stats-tags.html +6 -6
  16. data/_layouts/blog.html +1 -1
  17. data/_layouts/category.html +16 -6
  18. data/_layouts/collection.html +8 -3
  19. data/_layouts/journals.html +8 -3
  20. data/_layouts/landing.html +1 -1
  21. data/_layouts/sitemap-collection.html +3 -26
  22. data/_sass/custom.scss +20 -12
  23. data/assets/images/previews/10-ai-tools-that-will-transform-your-productivity-.png +0 -0
  24. data/assets/images/previews/business.png +0 -0
  25. data/assets/images/previews/css-grid-mastery-build-any-layout-you-can-imagine.png +0 -0
  26. data/assets/images/previews/development.png +0 -0
  27. data/assets/images/previews/github-setup-deployment.png +0 -0
  28. data/assets/images/previews/jekyll-setup.png +0 -0
  29. data/assets/images/previews/machine-setup.png +0 -0
  30. data/assets/images/previews/published-documentation-library.png +0 -0
  31. data/assets/images/previews/quantum-computing-explained-from-qubits-to-quantum.png +0 -0
  32. data/assets/images/previews/science.png +0 -0
  33. data/assets/images/previews/technology.png +0 -0
  34. data/assets/images/previews/the-complete-guide-to-startup-funding-in-2025.png +0 -0
  35. data/assets/images/previews/the-remote-work-revolution-how-global-teams-are-re.png +0 -0
  36. data/assets/images/previews/tutorial.png +0 -0
  37. data/assets/images/previews/world-news.png +0 -0
  38. data/assets/images/previews/zer0-mistakes-news-network-building-dynamic-news-s.png +0 -0
  39. data/assets/images/previews/zer0-mistakes-quick-start-guide.png +0 -0
  40. data/assets/js/auto-hide-nav.js +79 -16
  41. data/scripts/lib/preview_generator.py +37 -22
  42. data/scripts/test-mermaid.sh +51 -11
  43. metadata +18 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11f1a090a15824b7b1fc5754e858839d93318efad779deb8d63f5b5641a08f02
4
- data.tar.gz: 476de246227f2f492eb142f7d4f9f0b1e20b9dc97350069bb6b3fff3ef295f8b
3
+ metadata.gz: 14318370697089e7c5f1162d9698189ae98e023ecf9917ed130fc9c68309ea94
4
+ data.tar.gz: a4e6b0df262d40f9c0670b83163601aa20e3dd4085947fe4939bcb48aabd3e1b
5
5
  SHA512:
6
- metadata.gz: 8a2aba3a52815a120646b1b094a973dd01e4c28555f37de5562a9a262d4ad6dda7944753c9f235862ef60b8ce99ad94c62b98bdabf821b983243812d07b27480
7
- data.tar.gz: e54a3074c2d26c178211144219c9e934258edca74f498e073e37edc7e68d4a84d18181295d7467ac6de5647d6bc0d52e41605838171028f96b86dbbdd04caa1f
6
+ metadata.gz: 1329bd42d9db6f3cddb06e68b7999242e46e312da710efc1e1daf5173b1a508b71b364ba65dfe1dd1f9736700a639f1c03cbe3095b81b38f7cd9d9a54e172be2
7
+ data.tar.gz: f1912e0dc71cc0c167ed0396b510dbb6a74f1e2bdabb45fffbac67e5621b0c2806d83ca10ac0ae748331408f89dd424051262f572d4605cf5f5f592027ca9d9a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,166 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.4] - 2025-11-29
4
+
5
+ ### Changed
6
+
7
+ - **Improved: Bootstrap Theme Color Scheme** (`_includes/stats/`)
8
+ - Migrated from gradient backgrounds (`bg-gradient`) to Bootstrap 5 subtle variants (`bg-primary-subtle`, `bg-info-subtle`, `bg-warning-subtle`)
9
+ - Updated text colors to use emphasis variants (`text-primary-emphasis`, `text-info-emphasis`, `text-warning-emphasis`)
10
+ - Replaced `bg-light` with semantic `bg-body-secondary` for better theme consistency
11
+ - Updated footer and card backgrounds to use theme-aware classes
12
+ - Removed `border-0` classes to allow default Bootstrap borders
13
+ - All statistics components now follow Bootstrap 5 color system conventions
14
+
15
+ - **Improved: Cookie Consent Component** (`_includes/components/cookie-consent.html`)
16
+ - Updated modal styling with theme-aware background classes
17
+ - Better visual consistency with updated color scheme
18
+
19
+ - **Improved: Post Card Component** (`_includes/components/post-card.html`)
20
+ - Enhanced visual styling to match theme updates
21
+
22
+ - **Improved: Sitemap Component** (`_includes/content/sitemap.html`)
23
+ - Updated styling for consistency with Bootstrap 5 theme
24
+
25
+ - **Improved: Landing Page Layout** (`_layouts/landing.html`)
26
+ - Refined layout styling for better visual hierarchy
27
+
28
+ - **Improved: Blog Layout** (`_layouts/blog.html`)
29
+ - Updated layout to align with theme improvements
30
+
31
+ - **Improved: Sitemap Collection Layout** (`_layouts/sitemap-collection.html`)
32
+ - Enhanced layout for better content presentation
33
+
34
+ - **Restructured: README.md Documentation**
35
+ - Reorganized content structure for better readability
36
+ - Updated version references from 0.9.2 to 0.10.3
37
+ - Added centered layout with improved badge display
38
+ - Changed tagline to "The Self-Healing Jekyll Theme"
39
+ - Updated lastmod date to 2025-11-29
40
+ - Added mermaid support flag to front matter
41
+ - Improved navigation structure in documentation
42
+
43
+ ### Removed
44
+
45
+ - **Deleted: Duplicate Index File** (`pages/index.html`)
46
+ - Removed 341-line duplicate index file from pages directory
47
+ - Site now uses single `index.html` at root for cleaner architecture
48
+
49
+ ### Fixed
50
+
51
+ - **Fixed: Git Workflow Documentation** (`pages/_posts/development/2025-01-22-git-workflow-best-practices.md`)
52
+ - Corrected formatting and content issues
53
+
54
+ - **Fixed: Page Navigation** (`pages/blog.md`, `pages/categories.md`, `pages/tags.md`, `index.html`)
55
+ - Improved navigation consistency across pages
56
+
57
+ ## [0.10.3] - 2025-11-29
58
+
59
+ ### Added
60
+
61
+ - **New: AI-Generated Preview Images** - 17 new preview images for posts and collections
62
+ - Business, Development, Science, Technology, Tutorial, World category index pages
63
+ - Individual post previews: startup funding, quantum computing, AI tools, CSS grid, remote work
64
+ - Quickstart guide previews: GitHub setup, Jekyll setup, machine setup
65
+ - Documentation and blog index previews
66
+
67
+ ### Changed
68
+
69
+ - **Improved: Preview Image Path Handling** (`_layouts/journals.html`, `_layouts/category.html`, `_layouts/collection.html`)
70
+ - Layouts now support both absolute paths (`/assets/...`) and relative paths
71
+ - Conditional logic detects path type and constructs URL correctly
72
+ - Eliminates double-slash issues in image URLs
73
+
74
+ - **Improved: Intro Section Preview Image Logic** (`_includes/content/intro.html`)
75
+ - Smart path detection for preview images (absolute vs relative)
76
+ - Handles URLs with `://` schemes, paths starting with `/`, and relative filenames
77
+ - Cleaner Liquid template logic with proper variable assignment
78
+
79
+ - **Improved: Docker Development Setup** (`docker-compose.yml`, `docker/Dockerfile`)
80
+ - Command now runs `bundle install` before Jekyll serve (fixes volume mount overwrites)
81
+ - Dockerfile copies gemspec and lib/ for proper dependency resolution
82
+ - More reliable container startup with dependency installation
83
+
84
+ - **Improved: Preview Image Generator** (`scripts/lib/preview_generator.py`)
85
+ - Switched from OpenAI SDK to direct HTTP API calls
86
+ - Eliminates SDK dependency - only requires `requests` package
87
+ - Better error handling with HTTP status code parsing
88
+ - Added request timeouts (120s for generation, 60s for download)
89
+
90
+ ### Fixed
91
+
92
+ - **Fixed: Asset Paths in Config** (`_config.yml`)
93
+ - Corrected `teaser` and `info_banner` paths to use `/assets/images/` prefix
94
+ - Images now load correctly across all pages
95
+
96
+ - **Fixed: Preview Image Double-Slash URLs**
97
+ - Removed extra `/` between `public_folder` and `site.teaser` in fallback images
98
+ - All layouts now generate clean, valid image URLs
99
+
100
+ ## [0.10.2] - 2025-11-28
101
+
102
+ ### Added
103
+
104
+ - **Enhanced: Navbar Auto-Hide on Scroll** (`assets/js/auto-hide-nav.js`)
105
+ - Navbar hides when scrolling down past 100px threshold
106
+ - Navbar reappears immediately when scrolling up
107
+ - Automatic body padding to prevent content jump under fixed navbar
108
+ - Performance-optimized with `requestAnimationFrame` throttling
109
+ - Respects `prefers-reduced-motion` accessibility setting
110
+
111
+ ### Changed
112
+
113
+ - **Improved: Header Positioning** (`_includes/core/header.html`)
114
+ - Changed from `z-1` to Bootstrap's `fixed-top` class
115
+ - Provides proper z-index (1030) and fixed positioning
116
+
117
+ - **Refactored: Navbar CSS** (`_sass/custom.scss`)
118
+ - Replaced broken `.hide-navbar` and `.fixed-navbar` classes
119
+ - New `.navbar-hidden` class with `translateY(-100%)` transform
120
+ - Added `!important` to override Bootstrap's `fixed-top` positioning
121
+ - Added explicit background color for opaque navbar
122
+ - Added `prefers-reduced-motion` media query for accessibility
123
+
124
+ ### Fixed
125
+
126
+ - **Fixed: Navbar Blocking Content on Scroll Up**
127
+ - Content no longer obscured when scrolling back to top
128
+ - Body padding dynamically calculated based on navbar height
129
+
130
+ ## [0.10.1] - 2025-11-28
131
+
132
+ ### Added
133
+
134
+ - **Enhanced: Mermaid v2.1 - GitHub Pages Compatible** (`_includes/components/mermaid.html`)
135
+ - Client-side conversion of native markdown ` ```mermaid ` code blocks to rendered diagrams
136
+ - Full GitHub Pages compatibility without custom plugins (all processing client-side)
137
+ - CSS to hide code blocks during conversion (prevents flash of unstyled content)
138
+ - Print styles and improved responsive design
139
+ - Documented dual syntax support (native markdown and HTML div)
140
+
141
+ ### Changed
142
+
143
+ - **Improved: Mermaid Configuration** (`_config.yml`)
144
+ - Added clear comments explaining GitHub Pages compatibility
145
+ - Documented that `jekyll-mermaid` plugin is optional
146
+ - Updated usage instructions for both syntax options
147
+
148
+ - **Improved: Mermaid Documentation**
149
+ - `docs/jekyll/mermaid.md`: Added native markdown syntax as recommended option
150
+ - `docs/jekyll/mermaid-native-markdown.md`: Fixed documentation about front matter requirements
151
+ - Added GitHub Pages compatibility badges to documentation
152
+
153
+ ### Fixed
154
+
155
+ - **Fixed: Native Markdown Mermaid Syntax Not Rendering**
156
+ - ` ```mermaid ` code blocks now properly convert to diagrams via JavaScript
157
+ - Works with GitHub Pages remote_theme deployment
158
+
159
+ - **Fixed: Mermaid Test Script** (`scripts/test-mermaid.sh`)
160
+ - Corrected file path references from `pages/_docs/jekyll/` to `docs/jekyll/`
161
+ - Fixed SIGPIPE issues with `curl | grep` pipelines causing false test failures
162
+ - All 21 tests now pass successfully
163
+
3
164
  ## [0.10.0] - 2025-11-28
4
165
 
5
166
  ### Added