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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +715 -2
- data/_data/README.md +2 -0
- data/_data/ai.yml +5 -3
- data/_data/ai_pricing.yml +36 -0
- data/_data/backlog.yml +169 -18
- data/_data/consumers.yml +48 -5
- data/_data/features.yml +146 -20
- data/_data/feedback_types.yml +17 -12
- data/_data/landing.yml +5 -2
- data/_data/navigation/quickstart.yml +4 -0
- data/_data/site_builder.yml +874 -0
- data/_data/theme-manifest.yml +122 -114
- data/_data/ui-text.yml +18 -0
- data/_includes/README.md +11 -1
- data/_includes/analytics/posthog.html +2 -2
- data/_includes/components/admin-links.html +2 -2
- data/_includes/components/admin-tabs.html +2 -2
- data/_includes/components/ai-chat.html +14 -11
- data/_includes/components/analytics-dashboard.html +8 -8
- data/_includes/components/author-bio.html +1 -1
- data/_includes/components/author-card.html +10 -2
- data/_includes/components/author-eeat.html +4 -4
- data/_includes/components/background-customizer.html +8 -8
- data/_includes/components/background-image.html +114 -0
- data/_includes/components/background-settings.html +28 -15
- data/_includes/components/collection-manager.html +5 -5
- data/_includes/components/component-showcase.html +13 -13
- data/_includes/components/config-editor.html +12 -12
- data/_includes/components/config-viewer.html +8 -8
- data/_includes/components/cookie-consent.html +11 -11
- data/_includes/components/cta-button.html +7 -2
- data/_includes/components/dev-shortcuts.html +7 -7
- data/_includes/components/env-dashboard.html +8 -8
- data/_includes/components/env-switcher.html +9 -9
- data/_includes/components/feature-card.html +2 -2
- data/_includes/components/halfmoon.html +2 -2
- data/_includes/components/info-section.html +36 -36
- data/_includes/components/js-cdn.html +15 -15
- data/_includes/components/language-toggle.html +4 -4
- data/_includes/components/mermaid.html +72 -435
- data/_includes/components/nanobar.html +5 -5
- data/_includes/components/nav-editor.html +2 -2
- data/_includes/components/nav-export.html +2 -2
- data/_includes/components/nav-overview.html +2 -2
- data/_includes/components/page-feedback.html +45 -30
- data/_includes/components/page-views-init.html +1 -1
- data/_includes/components/post-card.html +22 -22
- data/_includes/components/post-type-badge.html +2 -2
- data/_includes/components/powered-by.html +2 -2
- data/_includes/components/preview-image.html +6 -0
- data/_includes/components/quick-index.html +2 -2
- data/_includes/components/search-modal.html +27 -2
- data/_includes/components/searchbar.html +2 -2
- data/_includes/components/svg-background.html +2 -2
- data/_includes/components/theme-customizer.html +2 -2
- data/_includes/components/theme-info.html +6 -6
- data/_includes/components/theme-preview-gallery.html +22 -22
- data/_includes/content/giscus.html +2 -2
- data/_includes/content/intro.html +8 -8
- data/_includes/content/jsonld-faq.html +2 -2
- data/_includes/content/jsonld-software.html +2 -2
- data/_includes/content/seo.html +4 -4
- data/_includes/content/sitemap.html +27 -27
- data/_includes/content/toc.html +183 -183
- data/_includes/core/branding.html +6 -6
- data/_includes/core/console-capture.html +32 -74
- data/_includes/core/favicon.html +49 -7
- data/_includes/core/footer-fabs.html +17 -3
- data/_includes/core/footer.html +31 -18
- data/_includes/core/head.html +102 -90
- data/_includes/core/header.html +71 -52
- data/_includes/docs/bootstrap-docs.html +8 -8
- data/_includes/landing/landing-install-cards.html +2 -2
- data/_includes/landing/landing-quick-links.html +1 -1
- data/_includes/navigation/admin-nav.html +2 -2
- data/_includes/navigation/nav-tree.html +8 -8
- data/_includes/navigation/navbar.html +12 -12
- data/_includes/navigation/section-sidebar.html +16 -16
- data/_includes/navigation/sidebar-config.html +36 -2
- data/_includes/navigation/sidebar-left.html +15 -15
- data/_includes/navigation/sidebar-right.html +6 -6
- data/_includes/obsidian/full-graph.html +2 -2
- data/_includes/setup/claude-session.html +72 -0
- data/_includes/setup/prereq-checklist.html +90 -0
- data/_includes/setup/wizard.html +906 -291
- data/_includes/stats/stats-categories.html +8 -8
- data/_includes/stats/stats-header.html +14 -14
- data/_includes/stats/stats-metrics.html +12 -12
- data/_includes/stats/stats-no-data.html +12 -12
- data/_includes/stats/stats-overview.html +6 -6
- data/_includes/stats/stats-tags.html +8 -8
- data/_layouts/404.html +38 -24
- data/_layouts/admin.html +22 -22
- data/_layouts/article.html +39 -34
- data/_layouts/author.html +20 -20
- data/_layouts/authors.html +2 -2
- data/_layouts/book-abc.html +12 -12
- data/_layouts/book-story.html +15 -15
- data/_layouts/book.html +12 -12
- data/_layouts/collection.html +33 -33
- data/_layouts/cookbook.html +12 -12
- data/_layouts/default.html +27 -24
- data/_layouts/home.html +23 -23
- data/_layouts/index.html +10 -10
- data/_layouts/landing.html +17 -17
- data/_layouts/news.html +44 -44
- data/_layouts/note.html +38 -38
- data/_layouts/notebook.html +34 -34
- data/_layouts/recipe.html +24 -24
- data/_layouts/root.html +73 -55
- data/_layouts/section.html +23 -23
- data/_layouts/setup.html +3 -3
- data/_layouts/sitemap-collection.html +49 -49
- data/_layouts/stats.html +40 -40
- data/_layouts/tag.html +12 -12
- data/_layouts/welcome.html +21 -21
- data/_sass/components/_mermaid.scss +375 -0
- data/_sass/components/_setup-wizard.scss +569 -40
- data/_sass/core/_navbar.scss +11 -31
- data/_sass/layouts/_navbar-extras.scss +14 -4
- data/assets/css/main.scss +1 -0
- data/assets/js/ai-chat.js +47 -5
- data/assets/js/fleet-feedback-capture.js +124 -0
- data/assets/js/fleet-feedback.js +853 -0
- data/assets/js/mermaid-diagrams.js +1267 -0
- data/assets/js/modules/navigation/config.js +9 -6
- data/assets/js/modules/navigation/scroll-spy.js +315 -80
- data/assets/js/modules/theme/appearance.js +8 -2
- data/assets/js/obsidian-wiki-links.js +8 -3
- data/assets/js/page-feedback.js +125 -192
- data/assets/js/search-modal.js +26 -0
- data/assets/js/setup-wizard.js +2112 -361
- data/assets/js/site-builder.js +1834 -0
- data/assets/js/ui-enhancements.js +11 -3
- data/scripts/README.md +15 -0
- data/scripts/ai/README.md +38 -0
- data/scripts/ai/api_call.rb +124 -0
- data/scripts/ai/usage.rb +314 -0
- data/scripts/ai/usage_report.rb +225 -0
- data/scripts/ci/test_visual_evidence_autogen.py +341 -0
- data/scripts/ci/visual_evidence_autogen.py +1060 -0
- data/scripts/content-review.rb +20 -1
- data/scripts/test/integration/mermaid +22 -8
- data/scripts/test/lib/run_tests.sh +1 -0
- data/scripts/test/lib/test_visual_evidence_autogen.sh +24 -0
- data/scripts/translate.rb +23 -1
- 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
|
-
|
|
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
|
-
|
|
51
|
+
{% comment %} Note Metadata {% endcomment %}
|
|
52
52
|
<div class="note-meta text-muted mb-3">
|
|
53
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
|
|
261
|
-
|
|
262
|
-
|
|
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
|
-
|
|
307
|
+
{% comment %} Schema.org metadata {% endcomment %}
|
|
308
308
|
<script type="application/ld+json">
|
|
309
309
|
{
|
|
310
310
|
"@context": "https://schema.org",
|
data/_layouts/notebook.html
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
47
|
+
{% comment %} Notebook Metadata {% endcomment %}
|
|
48
48
|
<div class="notebook-meta text-muted mb-3">
|
|
49
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
238
|
-
|
|
239
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
129
|
-
|
|
127
|
+
{% comment %} ================================ {% endcomment %}
|
|
128
|
+
{% comment %} RATIO / FORMULA {% endcomment %}
|
|
129
|
+
{% comment %} ================================ {% endcomment %}
|
|
130
130
|
{%- include components/recipe-ratio.html -%}
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
150
|
-
|
|
148
|
+
{% comment %} ================================ {% endcomment %}
|
|
149
|
+
{% comment %} NUTRITION {% endcomment %}
|
|
150
|
+
{% comment %} ================================ {% endcomment %}
|
|
151
151
|
{%- include components/recipe-nutrition.html -%}
|
|
152
152
|
|
|
153
|
-
|
|
154
|
-
|
|
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>
|