jekyll-theme-zer0 1.29.0 → 1.30.0

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 (148) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +715 -2
  3. data/_data/README.md +2 -0
  4. data/_data/ai.yml +5 -3
  5. data/_data/ai_pricing.yml +36 -0
  6. data/_data/backlog.yml +169 -18
  7. data/_data/consumers.yml +48 -5
  8. data/_data/features.yml +146 -20
  9. data/_data/feedback_types.yml +17 -12
  10. data/_data/landing.yml +5 -2
  11. data/_data/navigation/quickstart.yml +4 -0
  12. data/_data/site_builder.yml +874 -0
  13. data/_data/theme-manifest.yml +122 -114
  14. data/_data/ui-text.yml +18 -0
  15. data/_includes/README.md +11 -1
  16. data/_includes/analytics/posthog.html +2 -2
  17. data/_includes/components/admin-links.html +2 -2
  18. data/_includes/components/admin-tabs.html +2 -2
  19. data/_includes/components/ai-chat.html +14 -11
  20. data/_includes/components/analytics-dashboard.html +8 -8
  21. data/_includes/components/author-bio.html +1 -1
  22. data/_includes/components/author-card.html +10 -2
  23. data/_includes/components/author-eeat.html +4 -4
  24. data/_includes/components/background-customizer.html +8 -8
  25. data/_includes/components/background-image.html +114 -0
  26. data/_includes/components/background-settings.html +28 -15
  27. data/_includes/components/collection-manager.html +5 -5
  28. data/_includes/components/component-showcase.html +13 -13
  29. data/_includes/components/config-editor.html +12 -12
  30. data/_includes/components/config-viewer.html +8 -8
  31. data/_includes/components/cookie-consent.html +11 -11
  32. data/_includes/components/cta-button.html +7 -2
  33. data/_includes/components/dev-shortcuts.html +7 -7
  34. data/_includes/components/env-dashboard.html +8 -8
  35. data/_includes/components/env-switcher.html +9 -9
  36. data/_includes/components/feature-card.html +2 -2
  37. data/_includes/components/halfmoon.html +2 -2
  38. data/_includes/components/info-section.html +36 -36
  39. data/_includes/components/js-cdn.html +15 -15
  40. data/_includes/components/language-toggle.html +4 -4
  41. data/_includes/components/mermaid.html +72 -435
  42. data/_includes/components/nanobar.html +5 -5
  43. data/_includes/components/nav-editor.html +2 -2
  44. data/_includes/components/nav-export.html +2 -2
  45. data/_includes/components/nav-overview.html +2 -2
  46. data/_includes/components/page-feedback.html +45 -30
  47. data/_includes/components/page-views-init.html +1 -1
  48. data/_includes/components/post-card.html +22 -22
  49. data/_includes/components/post-type-badge.html +2 -2
  50. data/_includes/components/powered-by.html +2 -2
  51. data/_includes/components/preview-image.html +6 -0
  52. data/_includes/components/quick-index.html +2 -2
  53. data/_includes/components/search-modal.html +27 -2
  54. data/_includes/components/searchbar.html +2 -2
  55. data/_includes/components/svg-background.html +2 -2
  56. data/_includes/components/theme-customizer.html +2 -2
  57. data/_includes/components/theme-info.html +6 -6
  58. data/_includes/components/theme-preview-gallery.html +22 -22
  59. data/_includes/content/giscus.html +2 -2
  60. data/_includes/content/intro.html +8 -8
  61. data/_includes/content/jsonld-faq.html +2 -2
  62. data/_includes/content/jsonld-software.html +2 -2
  63. data/_includes/content/seo.html +4 -4
  64. data/_includes/content/sitemap.html +27 -27
  65. data/_includes/content/toc.html +183 -183
  66. data/_includes/core/branding.html +6 -6
  67. data/_includes/core/console-capture.html +32 -74
  68. data/_includes/core/favicon.html +49 -7
  69. data/_includes/core/footer-fabs.html +17 -3
  70. data/_includes/core/footer.html +31 -18
  71. data/_includes/core/head.html +102 -90
  72. data/_includes/core/header.html +71 -52
  73. data/_includes/docs/bootstrap-docs.html +8 -8
  74. data/_includes/landing/landing-install-cards.html +2 -2
  75. data/_includes/landing/landing-quick-links.html +1 -1
  76. data/_includes/navigation/admin-nav.html +2 -2
  77. data/_includes/navigation/nav-tree.html +8 -8
  78. data/_includes/navigation/navbar.html +12 -12
  79. data/_includes/navigation/section-sidebar.html +16 -16
  80. data/_includes/navigation/sidebar-config.html +36 -2
  81. data/_includes/navigation/sidebar-left.html +15 -15
  82. data/_includes/navigation/sidebar-right.html +6 -6
  83. data/_includes/obsidian/full-graph.html +2 -2
  84. data/_includes/setup/claude-session.html +72 -0
  85. data/_includes/setup/prereq-checklist.html +90 -0
  86. data/_includes/setup/wizard.html +906 -291
  87. data/_includes/stats/stats-categories.html +8 -8
  88. data/_includes/stats/stats-header.html +14 -14
  89. data/_includes/stats/stats-metrics.html +12 -12
  90. data/_includes/stats/stats-no-data.html +12 -12
  91. data/_includes/stats/stats-overview.html +6 -6
  92. data/_includes/stats/stats-tags.html +8 -8
  93. data/_layouts/404.html +38 -24
  94. data/_layouts/admin.html +22 -22
  95. data/_layouts/article.html +39 -34
  96. data/_layouts/author.html +20 -20
  97. data/_layouts/authors.html +2 -2
  98. data/_layouts/book-abc.html +12 -12
  99. data/_layouts/book-story.html +15 -15
  100. data/_layouts/book.html +12 -12
  101. data/_layouts/collection.html +33 -33
  102. data/_layouts/cookbook.html +12 -12
  103. data/_layouts/default.html +27 -24
  104. data/_layouts/home.html +23 -23
  105. data/_layouts/index.html +10 -10
  106. data/_layouts/landing.html +17 -17
  107. data/_layouts/news.html +44 -44
  108. data/_layouts/note.html +38 -38
  109. data/_layouts/notebook.html +34 -34
  110. data/_layouts/recipe.html +24 -24
  111. data/_layouts/root.html +73 -55
  112. data/_layouts/section.html +23 -23
  113. data/_layouts/setup.html +3 -3
  114. data/_layouts/sitemap-collection.html +49 -49
  115. data/_layouts/stats.html +40 -40
  116. data/_layouts/tag.html +12 -12
  117. data/_layouts/welcome.html +21 -21
  118. data/_sass/components/_mermaid.scss +375 -0
  119. data/_sass/components/_setup-wizard.scss +569 -40
  120. data/_sass/core/_navbar.scss +11 -31
  121. data/_sass/layouts/_navbar-extras.scss +14 -4
  122. data/assets/css/main.scss +1 -0
  123. data/assets/js/ai-chat.js +47 -5
  124. data/assets/js/fleet-feedback-capture.js +124 -0
  125. data/assets/js/fleet-feedback.js +853 -0
  126. data/assets/js/mermaid-diagrams.js +1267 -0
  127. data/assets/js/modules/navigation/config.js +9 -6
  128. data/assets/js/modules/navigation/scroll-spy.js +315 -80
  129. data/assets/js/modules/theme/appearance.js +8 -2
  130. data/assets/js/obsidian-wiki-links.js +8 -3
  131. data/assets/js/page-feedback.js +125 -192
  132. data/assets/js/search-modal.js +26 -0
  133. data/assets/js/setup-wizard.js +2112 -361
  134. data/assets/js/site-builder.js +1834 -0
  135. data/assets/js/ui-enhancements.js +11 -3
  136. data/scripts/README.md +15 -0
  137. data/scripts/ai/README.md +38 -0
  138. data/scripts/ai/api_call.rb +124 -0
  139. data/scripts/ai/usage.rb +314 -0
  140. data/scripts/ai/usage_report.rb +225 -0
  141. data/scripts/ci/test_visual_evidence_autogen.py +341 -0
  142. data/scripts/ci/visual_evidence_autogen.py +1060 -0
  143. data/scripts/content-review.rb +20 -1
  144. data/scripts/test/integration/mermaid +22 -8
  145. data/scripts/test/lib/run_tests.sh +1 -0
  146. data/scripts/test/lib/test_visual_evidence_autogen.sh +24 -0
  147. data/scripts/translate.rb +23 -1
  148. metadata +19 -2
data/_layouts/note.html CHANGED
@@ -5,7 +5,7 @@ layout: default
5
5
  {% assign page_absolute_url = page.url | absolute_url %}
6
6
  {% assign linkedin_share_title = page.title | default: site.title | strip_html | strip_newlines | strip %}
7
7
  {% assign linkedin_share_description = page.description | default: page.excerpt | default: site.description | strip_html | strip_newlines | strip %}
8
- <!--
8
+ {% comment %}
9
9
  ===================================================================
10
10
  NOTE LAYOUT - Quick Notes and Reference Display
11
11
  ===================================================================
@@ -36,21 +36,21 @@ layout: default
36
36
  - Bootstrap 5 components
37
37
  - Giscus comments (optional)
38
38
  ===================================================================
39
- -->
39
+ {% endcomment %}
40
40
 
41
41
  <article id="main" class="note-article h-entry" role="main" itemscope itemtype="https://schema.org/Article">
42
42
 
43
- <!-- ================================ -->
44
- <!-- NOTE HEADER -->
45
- <!-- ================================ -->
43
+ {% comment %} ================================ {% endcomment %}
44
+ {% comment %} NOTE HEADER {% endcomment %}
45
+ {% comment %} ================================ {% endcomment %}
46
46
  <header class="note-header mb-4">
47
47
  <h1 id="page-title" class="note-title p-name" itemprop="headline">
48
48
  {{ page.title }}
49
49
  </h1>
50
50
 
51
- <!-- Note Metadata -->
51
+ {% comment %} Note Metadata {% endcomment %}
52
52
  <div class="note-meta text-muted mb-3">
53
- <!-- Author -->
53
+ {% comment %} Author {% endcomment %}
54
54
  {% if page.author %}
55
55
  <span class="note-author" itemprop="author" itemscope itemtype="https://schema.org/Person">
56
56
  {% include components/author-card.html author=page.author style="inline" name_itemprop="name" %}
@@ -58,7 +58,7 @@ layout: default
58
58
  <span class="mx-2">•</span>
59
59
  {% endif %}
60
60
 
61
- <!-- Publication Date -->
61
+ {% comment %} Publication Date {% endcomment %}
62
62
  {% if page.date %}
63
63
  <time class="note-date dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
64
64
  <i class="bi bi-calendar me-1"></i>
@@ -67,7 +67,7 @@ layout: default
67
67
  <span class="mx-2">•</span>
68
68
  {% endif %}
69
69
 
70
- <!-- Reading Time -->
70
+ {% comment %} Reading Time {% endcomment %}
71
71
  {% assign words = content | number_of_words %}
72
72
  {% assign minutes = words | divided_by: 200 %}
73
73
  {% if minutes < 1 %}{% assign minutes = 1 %}{% endif %}
@@ -76,7 +76,7 @@ layout: default
76
76
  {{ minutes }} min read
77
77
  </span>
78
78
 
79
- <!-- Last Modified -->
79
+ {% comment %} Last Modified {% endcomment %}
80
80
  {% if page.lastmod %}
81
81
  <span class="mx-2">•</span>
82
82
  <span class="note-updated" itemprop="dateModified" content="{{ page.lastmod | date_to_xmlschema }}">
@@ -85,7 +85,7 @@ layout: default
85
85
  </span>
86
86
  {% endif %}
87
87
 
88
- <!-- Difficulty Badge -->
88
+ {% comment %} Difficulty Badge {% endcomment %}
89
89
  {% if page.difficulty %}
90
90
  <span class="mx-2">•</span>
91
91
  <span class="note-difficulty">
@@ -103,7 +103,7 @@ layout: default
103
103
  {% endif %}
104
104
  </div>
105
105
 
106
- <!-- Tags -->
106
+ {% comment %} Tags {% endcomment %}
107
107
  {% comment %} Link tag badges only when a tags index exists (configurable via
108
108
  `tags_page`); otherwise render plain badges so remote-theme consumers
109
109
  without a /tags/ page don't get 404 links. See issue #204. {% endcomment %}
@@ -123,7 +123,7 @@ layout: default
123
123
  </div>
124
124
  {% endif %}
125
125
 
126
- <!-- Categories -->
126
+ {% comment %} Categories {% endcomment %}
127
127
  {% if page.categories and page.categories.size > 0 %}
128
128
  <div class="note-categories mb-3">
129
129
  <i class="bi bi-folder me-1"></i>
@@ -136,7 +136,7 @@ layout: default
136
136
  </div>
137
137
  {% endif %}
138
138
 
139
- <!-- Description -->
139
+ {% comment %} Description {% endcomment %}
140
140
  {% if page.description %}
141
141
  <div class="note-description lead mb-4" itemprop="description">
142
142
  {{ page.description }}
@@ -144,26 +144,26 @@ layout: default
144
144
  {% endif %}
145
145
  </header>
146
146
 
147
- <!-- ================================ -->
148
- <!-- NOTE CONTENT -->
149
- <!-- ================================ -->
147
+ {% comment %} ================================ {% endcomment %}
148
+ {% comment %} NOTE CONTENT {% endcomment %}
149
+ {% comment %} ================================ {% endcomment %}
150
150
  <div class="note-content e-content" itemprop="articleBody">
151
151
  {{ content }}
152
152
  </div>
153
153
 
154
- <!-- ================================ -->
155
- <!-- AUTHOR BIO SECTION -->
156
- <!-- ================================ -->
154
+ {% comment %} ================================ {% endcomment %}
155
+ {% comment %} AUTHOR BIO SECTION {% endcomment %}
156
+ {% comment %} ================================ {% endcomment %}
157
157
  {% if page.author and page.author_profile != false %}
158
158
  {% include components/author-bio.html author=page.author %}
159
159
  {% endif %}
160
160
 
161
- <!-- ================================ -->
162
- <!-- NOTE FOOTER -->
163
- <!-- ================================ -->
161
+ {% comment %} ================================ {% endcomment %}
162
+ {% comment %} NOTE FOOTER {% endcomment %}
163
+ {% comment %} ================================ {% endcomment %}
164
164
  <footer class="note-footer mt-5 pt-4 border-top">
165
165
 
166
- <!-- Share Buttons -->
166
+ {% comment %} Share Buttons {% endcomment %}
167
167
  {% if page.share != false %}
168
168
  <div class="share-buttons mb-4">
169
169
  <h5 class="mb-3">Share this note</h5>
@@ -190,7 +190,7 @@ layout: default
190
190
  </div>
191
191
  {% endif %}
192
192
 
193
- <!-- Related Notes -->
193
+ {% comment %} Related Notes {% endcomment %}
194
194
  {% if site.notes.size > 1 %}
195
195
  <div class="related-notes mt-5">
196
196
  <h5 class="mb-3">Related Notes</h5>
@@ -238,28 +238,28 @@ layout: default
238
238
  {% endif %}
239
239
  </footer>
240
240
 
241
- <!-- ================================ -->
242
- <!-- COMMENTS SECTION -->
243
- <!-- ================================ -->
241
+ {% comment %} ================================ {% endcomment %}
242
+ {% comment %} COMMENTS SECTION {% endcomment %}
243
+ {% comment %} ================================ {% endcomment %}
244
244
  {% if page.comments != false and site.giscus.enabled %}
245
245
  <div class="note-comments mt-5 pt-4 border-top">
246
246
  <h5 class="mb-4">Comments</h5>
247
247
  {% include content/giscus.html %}
248
248
  </div>
249
249
  {% endif %}
250
- <!-- ================================ -->
251
- <!-- BACKLINKS — "Linked mentions" -->
252
- <!-- ================================ -->
253
- <!-- Obsidian-style panel of pages that wiki-link or markdown-link to this note. -->
254
- <!-- Disable per-page with `backlinks: false` in front matter. -->
250
+ {% comment %} ================================ {% endcomment %}
251
+ {% comment %} BACKLINKS — "Linked mentions" {% endcomment %}
252
+ {% comment %} ================================ {% endcomment %}
253
+ {% comment %} Obsidian-style panel of pages that wiki-link or markdown-link to this note. {% endcomment %}
254
+ {% comment %} Disable per-page with `backlinks: false` in front matter. {% endcomment %}
255
255
  {% include content/backlinks.html %}
256
256
 
257
257
  </article>
258
258
 
259
- <!-- ================================ -->
260
- <!-- NAVIGATION -->
261
- <!-- ================================ -->
262
- <!-- Previous/Next Note Navigation -->
259
+ {% comment %} ================================ {% endcomment %}
260
+ {% comment %} NAVIGATION {% endcomment %}
261
+ {% comment %} ================================ {% endcomment %}
262
+ {% comment %} Previous/Next Note Navigation {% endcomment %}
263
263
  {% assign notes = site.notes | sort: 'date' | reverse %}
264
264
  {% assign current_index = nil %}
265
265
  {% for note in notes %}
@@ -304,7 +304,7 @@ layout: default
304
304
  </nav>
305
305
  {% endif %}
306
306
 
307
- <!-- Schema.org metadata -->
307
+ {% comment %} Schema.org metadata {% endcomment %}
308
308
  <script type="application/ld+json">
309
309
  {
310
310
  "@context": "https://schema.org",
@@ -2,7 +2,7 @@
2
2
  # Features: ZER0-012, ZER0-019, ZER0-035
3
3
  layout: default
4
4
  ---
5
- <!--
5
+ {% comment %}
6
6
  ===================================================================
7
7
  NOTEBOOK LAYOUT - Jupyter Notebook Display
8
8
  ===================================================================
@@ -32,21 +32,21 @@ layout: default
32
32
  - Rouge syntax highlighter (Jekyll default)
33
33
  - Bootstrap 5 components
34
34
  ===================================================================
35
- -->
35
+ {% endcomment %}
36
36
 
37
37
  <article id="main" class="notebook-article h-entry" role="main" itemscope itemtype="https://schema.org/TechArticle">
38
38
 
39
- <!-- ================================ -->
40
- <!-- NOTEBOOK HEADER -->
41
- <!-- ================================ -->
39
+ {% comment %} ================================ {% endcomment %}
40
+ {% comment %} NOTEBOOK HEADER {% endcomment %}
41
+ {% comment %} ================================ {% endcomment %}
42
42
  <header class="notebook-header mb-4">
43
43
  <h1 id="page-title" class="notebook-title p-name" itemprop="headline">
44
44
  {{ page.title }}
45
45
  </h1>
46
46
 
47
- <!-- Notebook Metadata -->
47
+ {% comment %} Notebook Metadata {% endcomment %}
48
48
  <div class="notebook-meta text-muted mb-3">
49
- <!-- Author -->
49
+ {% comment %} Author {% endcomment %}
50
50
  {% if page.author %}
51
51
  <span class="notebook-author" itemprop="author" itemscope itemtype="https://schema.org/Person">
52
52
  {% include components/author-card.html author=page.author style="inline" name_itemprop="name" %}
@@ -54,7 +54,7 @@ layout: default
54
54
  <span class="mx-2">•</span>
55
55
  {% endif %}
56
56
 
57
- <!-- Publication Date -->
57
+ {% comment %} Publication Date {% endcomment %}
58
58
  {% if page.date %}
59
59
  <time class="notebook-date dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
60
60
  <i class="bi bi-calendar me-1"></i>
@@ -63,7 +63,7 @@ layout: default
63
63
  <span class="mx-2">•</span>
64
64
  {% endif %}
65
65
 
66
- <!-- Reading Time -->
66
+ {% comment %} Reading Time {% endcomment %}
67
67
  {% assign words = content | number_of_words %}
68
68
  {% assign minutes = words | divided_by: 200 %}
69
69
  {% if minutes < 1 %}{% assign minutes = 1 %}{% endif %}
@@ -72,7 +72,7 @@ layout: default
72
72
  {{ minutes }} min read
73
73
  </span>
74
74
 
75
- <!-- Last Modified -->
75
+ {% comment %} Last Modified {% endcomment %}
76
76
  {% if page.lastmod %}
77
77
  <span class="mx-2">•</span>
78
78
  <span class="notebook-updated" itemprop="dateModified" content="{{ page.lastmod | date_to_xmlschema }}">
@@ -81,7 +81,7 @@ layout: default
81
81
  </span>
82
82
  {% endif %}
83
83
 
84
- <!-- Kernel Info -->
84
+ {% comment %} Kernel Info {% endcomment %}
85
85
  {% if page.jupyter_metadata %}
86
86
  <span class="mx-2">•</span>
87
87
  <span class="notebook-kernel">
@@ -91,7 +91,7 @@ layout: default
91
91
  {% endif %}
92
92
  </div>
93
93
 
94
- <!-- Tags -->
94
+ {% comment %} Tags {% endcomment %}
95
95
  {% comment %} Link tag badges only when a tags index exists (configurable via
96
96
  `tags_page`); otherwise render plain badges so remote-theme consumers
97
97
  without a /tags/ page don't get 404 links. See issue #204. {% endcomment %}
@@ -111,7 +111,7 @@ layout: default
111
111
  </div>
112
112
  {% endif %}
113
113
 
114
- <!-- Categories -->
114
+ {% comment %} Categories {% endcomment %}
115
115
  {% if page.categories and page.categories.size > 0 %}
116
116
  <div class="notebook-categories mb-3">
117
117
  <i class="bi bi-folder me-1"></i>
@@ -124,7 +124,7 @@ layout: default
124
124
  </div>
125
125
  {% endif %}
126
126
 
127
- <!-- Description -->
127
+ {% comment %} Description {% endcomment %}
128
128
  {% if page.description %}
129
129
  <div class="notebook-description lead mb-4" itemprop="description">
130
130
  {{ page.description }}
@@ -132,26 +132,26 @@ layout: default
132
132
  {% endif %}
133
133
  </header>
134
134
 
135
- <!-- ================================ -->
136
- <!-- NOTEBOOK CONTENT -->
137
- <!-- ================================ -->
135
+ {% comment %} ================================ {% endcomment %}
136
+ {% comment %} NOTEBOOK CONTENT {% endcomment %}
137
+ {% comment %} ================================ {% endcomment %}
138
138
  <div class="notebook-content e-content" itemprop="articleBody">
139
139
  {{ content }}
140
140
  </div>
141
141
 
142
- <!-- ================================ -->
143
- <!-- AUTHOR BIO SECTION -->
144
- <!-- ================================ -->
142
+ {% comment %} ================================ {% endcomment %}
143
+ {% comment %} AUTHOR BIO SECTION {% endcomment %}
144
+ {% comment %} ================================ {% endcomment %}
145
145
  {% if page.author and page.author_profile != false %}
146
146
  {% include components/author-bio.html author=page.author %}
147
147
  {% endif %}
148
148
 
149
- <!-- ================================ -->
150
- <!-- NOTEBOOK FOOTER -->
151
- <!-- ================================ -->
149
+ {% comment %} ================================ {% endcomment %}
150
+ {% comment %} NOTEBOOK FOOTER {% endcomment %}
151
+ {% comment %} ================================ {% endcomment %}
152
152
  <footer class="notebook-footer mt-5 pt-4 border-top">
153
153
 
154
- <!-- Share Buttons -->
154
+ {% comment %} Share Buttons {% endcomment %}
155
155
  {% if page.share != false %}
156
156
  <div class="share-buttons mb-4">
157
157
  <h5 class="mb-3">Share this notebook</h5>
@@ -172,7 +172,7 @@ layout: default
172
172
  </div>
173
173
  {% endif %}
174
174
 
175
- <!-- Download Original Notebook -->
175
+ {% comment %} Download Original Notebook {% endcomment %}
176
176
  <div class="download-notebook mb-4">
177
177
  <a href="https://raw.githubusercontent.com/{{ site.repository }}/{{ site.branch | default: 'main' }}/pages/_notebooks/{{ page.slug }}.ipynb"
178
178
  class="btn btn-outline-secondary btn-sm" download>
@@ -180,7 +180,7 @@ layout: default
180
180
  </a>
181
181
  </div>
182
182
 
183
- <!-- Related Notebooks -->
183
+ {% comment %} Related Notebooks {% endcomment %}
184
184
  {% if site.notebooks.size > 1 %}
185
185
  <div class="related-notebooks mt-5">
186
186
  <h5 class="mb-3">Related Notebooks</h5>
@@ -221,9 +221,9 @@ layout: default
221
221
  {% endif %}
222
222
  </footer>
223
223
 
224
- <!-- ================================ -->
225
- <!-- COMMENTS SECTION -->
226
- <!-- ================================ -->
224
+ {% comment %} ================================ {% endcomment %}
225
+ {% comment %} COMMENTS SECTION {% endcomment %}
226
+ {% comment %} ================================ {% endcomment %}
227
227
  {% if page.comments != false and site.giscus.enabled %}
228
228
  <div class="notebook-comments mt-5 pt-4 border-top">
229
229
  <h5 class="mb-4">Comments</h5>
@@ -233,10 +233,10 @@ layout: default
233
233
 
234
234
  </article>
235
235
 
236
- <!-- ================================ -->
237
- <!-- NAVIGATION -->
238
- <!-- ================================ -->
239
- <!-- Previous/Next Notebook Navigation -->
236
+ {% comment %} ================================ {% endcomment %}
237
+ {% comment %} NAVIGATION {% endcomment %}
238
+ {% comment %} ================================ {% endcomment %}
239
+ {% comment %} Previous/Next Notebook Navigation {% endcomment %}
240
240
  {% assign notebooks = site.notebooks | sort: 'date' | reverse %}
241
241
  {% assign current_index = nil %}
242
242
  {% for notebook in notebooks %}
@@ -281,7 +281,7 @@ layout: default
281
281
  </nav>
282
282
  {% endif %}
283
283
 
284
- <!-- Schema.org metadata -->
284
+ {% comment %} Schema.org metadata {% endcomment %}
285
285
  <script type="application/ld+json">
286
286
  {
287
287
  "@context": "https://schema.org",
data/_layouts/recipe.html CHANGED
@@ -31,9 +31,9 @@ layout: default
31
31
 
32
32
  <article class="recipe" data-recipe data-recipe-id="{{ _rl_id }}">
33
33
 
34
- <!-- ================================ -->
35
- <!-- HEADER -->
36
- <!-- ================================ -->
34
+ {% comment %} ================================ {% endcomment %}
35
+ {% comment %} HEADER {% endcomment %}
36
+ {% comment %} ================================ {% endcomment %}
37
37
  <header class="recipe-header">
38
38
  {%- if _rl_cookbook or _rl_course_meta -%}
39
39
  <p class="recipe-eyebrow">
@@ -73,9 +73,9 @@ layout: default
73
73
  {%- endif -%}
74
74
  </header>
75
75
 
76
- <!-- ================================ -->
77
- <!-- HEADNOTE (the markdown body) -->
78
- <!-- ================================ -->
76
+ {% comment %} ================================ {% endcomment %}
77
+ {% comment %} HEADNOTE (the markdown body) {% endcomment %}
78
+ {% comment %} ================================ {% endcomment %}
79
79
  {%- assign _rl_body = content | strip -%}
80
80
  {%- if _rl_body != "" -%}
81
81
  <div class="recipe-headnote">
@@ -83,9 +83,9 @@ layout: default
83
83
  </div>
84
84
  {%- endif -%}
85
85
 
86
- <!-- ================================ -->
87
- <!-- FACT BAR + SCALER -->
88
- <!-- ================================ -->
86
+ {% comment %} ================================ {% endcomment %}
87
+ {% comment %} FACT BAR + SCALER {% endcomment %}
88
+ {% comment %} ================================ {% endcomment %}
89
89
  {%- include components/recipe-meta.html -%}
90
90
 
91
91
  {%- if _rl_show_scaler -%}
@@ -98,9 +98,9 @@ layout: default
98
98
  </noscript>
99
99
  {%- endif -%}
100
100
 
101
- <!-- ================================ -->
102
- <!-- INGREDIENTS + METHOD -->
103
- <!-- ================================ -->
101
+ {% comment %} ================================ {% endcomment %}
102
+ {% comment %} INGREDIENTS + METHOD {% endcomment %}
103
+ {% comment %} ================================ {% endcomment %}
104
104
  <div class="row g-4 g-lg-5 recipe-body">
105
105
  <div class="col-lg-5">
106
106
  {%- include components/recipe-ingredients.html id_prefix=_rl_id -%}
@@ -124,14 +124,14 @@ layout: default
124
124
  </div>
125
125
  </div>
126
126
 
127
- <!-- ================================ -->
128
- <!-- RATIO / FORMULA -->
129
- <!-- ================================ -->
127
+ {% comment %} ================================ {% endcomment %}
128
+ {% comment %} RATIO / FORMULA {% endcomment %}
129
+ {% comment %} ================================ {% endcomment %}
130
130
  {%- include components/recipe-ratio.html -%}
131
131
 
132
- <!-- ================================ -->
133
- <!-- NOTES -->
134
- <!-- ================================ -->
132
+ {% comment %} ================================ {% endcomment %}
133
+ {% comment %} NOTES {% endcomment %}
134
+ {% comment %} ================================ {% endcomment %}
135
135
  {%- if page.notes and page.notes.size > 0 -%}
136
136
  <section class="recipe-notes">
137
137
  <h2 class="recipe-section-heading">
@@ -145,14 +145,14 @@ layout: default
145
145
  </section>
146
146
  {%- endif -%}
147
147
 
148
- <!-- ================================ -->
149
- <!-- NUTRITION -->
150
- <!-- ================================ -->
148
+ {% comment %} ================================ {% endcomment %}
149
+ {% comment %} NUTRITION {% endcomment %}
150
+ {% comment %} ================================ {% endcomment %}
151
151
  {%- include components/recipe-nutrition.html -%}
152
152
 
153
- <!-- ================================ -->
154
- <!-- COMMENTS -->
155
- <!-- ================================ -->
153
+ {% comment %} ================================ {% endcomment %}
154
+ {% comment %} COMMENTS {% endcomment %}
155
+ {% comment %} ================================ {% endcomment %}
156
156
  {%- if page.comments and site.giscus.enabled -%}
157
157
  <section class="post-comments mt-5 pt-4 border-top" id="comments">
158
158
  <h2 class="h4 mb-4"><i class="bi bi-chat-dots me-2" aria-hidden="true"></i>Comments</h2>