jekyll-theme-zer0 0.1.8 → 0.2.1

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +144 -0
  3. data/README.md +504 -316
  4. data/_data/navigation/main.yml +15 -11
  5. data/_data/navigation/quickstart.yml +12 -0
  6. data/_includes/README.md +97 -0
  7. data/_includes/{info-section.html → components/info-section.html} +4 -4
  8. data/_includes/content/giscus.html +60 -0
  9. data/_includes/content/intro.html +66 -0
  10. data/_includes/{sitemap.html → content/sitemap.html} +1 -1
  11. data/_includes/{toc.html → content/toc.html} +1 -1
  12. data/_includes/{branding.html → core/branding.html} +2 -2
  13. data/_includes/core/footer.html +167 -0
  14. data/_includes/core/head.html +158 -0
  15. data/_includes/core/header.html +125 -0
  16. data/_includes/landing/landing-install-cards.html +52 -0
  17. data/_includes/landing/landing-quick-links.html +28 -0
  18. data/_includes/navigation/navbar.html +96 -0
  19. data/_includes/navigation/sidebar-left.html +83 -0
  20. data/_includes/{sidebar-right.html → navigation/sidebar-right.html} +3 -10
  21. data/_layouts/README.md +198 -0
  22. data/_layouts/blog.html +252 -143
  23. data/_layouts/collection.html +108 -27
  24. data/_layouts/default.html +74 -26
  25. data/_layouts/home.html +59 -9
  26. data/_layouts/index.html +47 -1
  27. data/_layouts/journals.html +11 -19
  28. data/_layouts/landing.html +148 -12
  29. data/_layouts/root.html +65 -30
  30. data/assets/js/back-to-top.js +16 -19
  31. metadata +65 -41
  32. data/_includes/footer.html +0 -57
  33. data/_includes/giscus.html +0 -16
  34. data/_includes/head.html +0 -95
  35. data/_includes/header.html +0 -79
  36. data/_includes/intro.html +0 -68
  37. data/_includes/navbar.html +0 -34
  38. data/_includes/sidebar-left.html +0 -41
  39. data/_includes/toc +0 -7
  40. data/_layouts/javascript.html +0 -8
  41. /data/_includes/{google-analytics.html → analytics/google-analytics.html} +0 -0
  42. /data/_includes/{google-tag-manager-body.html → analytics/google-tag-manager-body.html} +0 -0
  43. /data/_includes/{google-tag-manager-head.html → analytics/google-tag-manager-head.html} +0 -0
  44. /data/_includes/{dev-shortcuts.html → components/dev-shortcuts.html} +0 -0
  45. /data/_includes/{halfmoon.html → components/halfmoon.html} +0 -0
  46. /data/_includes/{js-cdn.html → components/js-cdn.html} +0 -0
  47. /data/_includes/{powered-by.html → components/powered-by.html} +0 -0
  48. /data/_includes/{quick-index.html → components/quick-index.html} +0 -0
  49. /data/_includes/{searchbar.html → components/searchbar.html} +0 -0
  50. /data/_includes/{svg.html → components/svg.html} +0 -0
  51. /data/_includes/{zer0-env-var.html → components/zer0-env-var.html} +0 -0
  52. /data/_includes/{seo.html → content/seo.html} +0 -0
  53. /data/_includes/{style.html → docs/bootstrap-docs.html} +0 -0
  54. /data/_includes/{breadcrumbs.html → navigation/breadcrumbs.html} +0 -0
  55. /data/_includes/{nav_list.html → navigation/nav_list.html} +0 -0
  56. /data/_includes/{sidebar-categories.html → navigation/sidebar-categories.html} +0 -0
  57. /data/_includes/{sidebar-folders.html → navigation/sidebar-folders.html} +0 -0
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-zer0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amr Abdel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-06 00:00:00.000000000 Z
11
+ date: 2025-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.9.5
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.9.5
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.22
33
+ version: '2.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.3.22
40
+ version: '2.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,13 +52,29 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '13.0'
55
- description:
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description: Bootstrap Jekyll theme for headless Github Pages CMS with Docker-first
70
+ development approach
56
71
  email:
57
72
  - amr@it-journey.dev
58
73
  executables: []
59
74
  extensions: []
60
75
  extra_rdoc_files: []
61
76
  files:
77
+ - CHANGELOG.md
62
78
  - LICENSE
63
79
  - README.md
64
80
  - _data/README.md
@@ -66,42 +82,45 @@ files:
66
82
  - _data/navigation/docs.yml
67
83
  - _data/navigation/main.yml
68
84
  - _data/navigation/posts.yml
69
- - _includes/branding.html
70
- - _includes/breadcrumbs.html
71
- - _includes/dev-shortcuts.html
72
- - _includes/footer.html
73
- - _includes/giscus.html
74
- - _includes/google-analytics.html
75
- - _includes/google-tag-manager-body.html
76
- - _includes/google-tag-manager-head.html
77
- - _includes/halfmoon.html
78
- - _includes/head.html
79
- - _includes/header.html
80
- - _includes/info-section.html
81
- - _includes/intro.html
82
- - _includes/js-cdn.html
83
- - _includes/nav_list.html
84
- - _includes/navbar.html
85
- - _includes/powered-by.html
86
- - _includes/quick-index.html
87
- - _includes/searchbar.html
88
- - _includes/seo.html
89
- - _includes/sidebar-categories.html
90
- - _includes/sidebar-folders.html
91
- - _includes/sidebar-left.html
92
- - _includes/sidebar-right.html
93
- - _includes/sitemap.html
94
- - _includes/style.html
95
- - _includes/svg.html
96
- - _includes/toc
97
- - _includes/toc.html
98
- - _includes/zer0-env-var.html
85
+ - _data/navigation/quickstart.yml
86
+ - _includes/README.md
87
+ - _includes/analytics/google-analytics.html
88
+ - _includes/analytics/google-tag-manager-body.html
89
+ - _includes/analytics/google-tag-manager-head.html
90
+ - _includes/components/dev-shortcuts.html
91
+ - _includes/components/halfmoon.html
92
+ - _includes/components/info-section.html
93
+ - _includes/components/js-cdn.html
94
+ - _includes/components/powered-by.html
95
+ - _includes/components/quick-index.html
96
+ - _includes/components/searchbar.html
97
+ - _includes/components/svg.html
98
+ - _includes/components/zer0-env-var.html
99
+ - _includes/content/giscus.html
100
+ - _includes/content/intro.html
101
+ - _includes/content/seo.html
102
+ - _includes/content/sitemap.html
103
+ - _includes/content/toc.html
104
+ - _includes/core/branding.html
105
+ - _includes/core/footer.html
106
+ - _includes/core/head.html
107
+ - _includes/core/header.html
108
+ - _includes/docs/bootstrap-docs.html
109
+ - _includes/landing/landing-install-cards.html
110
+ - _includes/landing/landing-quick-links.html
111
+ - _includes/navigation/breadcrumbs.html
112
+ - _includes/navigation/nav_list.html
113
+ - _includes/navigation/navbar.html
114
+ - _includes/navigation/sidebar-categories.html
115
+ - _includes/navigation/sidebar-folders.html
116
+ - _includes/navigation/sidebar-left.html
117
+ - _includes/navigation/sidebar-right.html
118
+ - _layouts/README.md
99
119
  - _layouts/blog.html
100
120
  - _layouts/collection.html
101
121
  - _layouts/default.html
102
122
  - _layouts/home.html
103
123
  - _layouts/index.html
104
- - _layouts/javascript.html
105
124
  - _layouts/journals.html
106
125
  - _layouts/landing.html
107
126
  - _layouts/root.html
@@ -140,6 +159,11 @@ licenses:
140
159
  - MIT
141
160
  metadata:
142
161
  plugin_type: theme
162
+ homepage_uri: https://github.com/bamr87/zer0-mistakes
163
+ source_code_uri: https://github.com/bamr87/zer0-mistakes
164
+ changelog_uri: https://github.com/bamr87/zer0-mistakes/blob/main/CHANGELOG.md
165
+ documentation_uri: https://github.com/bamr87/zer0-mistakes#readme
166
+ allowed_push_host: https://rubygems.org
143
167
  post_install_message:
144
168
  rdoc_options: []
145
169
  require_paths:
@@ -148,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
172
  requirements:
149
173
  - - ">="
150
174
  - !ruby/object:Gem::Version
151
- version: 2.7.0
175
+ version: 2.6.0
152
176
  required_rubygems_version: !ruby/object:Gem::Requirement
153
177
  requirements:
154
178
  - - ">="
@@ -1,57 +0,0 @@
1
- <!--
2
- file: footer.html
3
- path: _includes/footer.html
4
- includes: none
5
- descrition: Social Links and Branding
6
- -->
7
-
8
- <footer class="bd-footer container-xl d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
9
- <div class="col-sm d-flex align-items-center">
10
-
11
- <!-- Frameworks/Engines and Affiliations -->
12
- <ul class="nav col-sm justify-content-end list-unstyled d-flex align-items-center">
13
-
14
- <!-- Search for Site Frameworks in config file -->
15
- <span class="align-self">
16
- &copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. Powered by:
17
- </span>
18
- {% for power in site.powered_by %}
19
- <li class="btn ">
20
- <a href="{{ power.url }}" rel="nofollow">
21
- <i class="{{ site.default_icon }} {{ power.icon | default: site.powered_by.default }}" aria-hidden="true"></i>
22
- <!-- display name if there's enough space, else icon only -->
23
- <span class="d-none d-md-inline">
24
- {{ power.name }}
25
- </span>
26
- </a>
27
- </li>
28
- {% endfor %}
29
-
30
- <!-- Search for Site Affiliation links in config file -->
31
- {% for link in site.links %}
32
- <li class="btn ">
33
- <a href="{{ link.url }}" rel="nofollow">
34
- <i class="{{ site.default_icon }} {{ link.icon | default: site.links.default }}" aria-hidden="true"></i>
35
- <!-- display name if there's enough space, else icon only -->
36
- <span class="d-none d-md-inline">
37
- {{ link.label }}
38
- </span>
39
- </a>
40
- </li>
41
- {% endfor %}
42
-
43
- <!-- RSS Feed -->
44
- <li class="btn">
45
- <a href="{{ '/feed.xml' | relative_url }}">
46
- <i class="{{ site.default_icon }} bi-rss" aria-hidden="true"></i>
47
- <!-- https://icons.getbootstrap.com/icons/rss/ -->
48
- <span class="d-none d-md-inline">
49
- {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}
50
- </span>
51
- </a>
52
- </li>
53
- </ul>
54
-
55
- </div>
56
- </footer>
57
-
@@ -1,16 +0,0 @@
1
- <!-- giscus app - https://giscus.app/ - Feature # FR000001 -->
2
-
3
- <script src="https://giscus.app/client.js"
4
- data-repo="{{ site.repository }}"
5
- data-repo-id="{{ site.gisgus.data-repo-id }}"
6
- data-category-id="{{ site.gisgus.data-category-id }}"
7
- data-mapping="pathname"
8
- data-strict="1"
9
- data-reactions-enabled="1"
10
- data-emit-metadata="0"
11
- data-input-position="top"
12
- data-theme="preferred_color_scheme"
13
- data-lang="en"
14
- crossorigin="anonymous"
15
- async>
16
- </script>
data/_includes/head.html DELETED
@@ -1,95 +0,0 @@
1
- <!--
2
- file: head.html
3
- path: includes/head.html
4
- includes: seo.html, google-analytics.html
5
- description: Head section of the HTML document
6
-
7
- -->
8
-
9
- <!-- Google Tag Manager - Head -->
10
-
11
- {% include google-tag-manager-head.html %}
12
-
13
- <!-- Custom JS Scripts -->
14
- <script src="{{ '/assets/js/myScript.js' | relative_url }}"></script>
15
- <script src="{{ '/assets/js/auto-hide-nav.js' | relative_url }}"></script>
16
- <script src="{{ '/assets/js/back-to-top.js' | relative_url }}"></script>
17
- <script src="{{ '/assets/js/halfmoon.js' | relative_url }}"></script>
18
- <script src="{{ '/assets/js/side-bar-folders.js' | relative_url }}"></script>
19
- <script src="{{ '/assets/js/code-copy.js' | relative_url }}"></script>
20
-
21
- <!-- third party scripts -->
22
-
23
- <!-- mermaid script -->
24
- <!-- <script src="https://cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js"></script>
25
- <script >mermaid.initialize({ startOnLoad: true });</script> -->
26
-
27
- <!-- Nano Bar -->
28
- <script src="{{'/assets/js/nanobar.min.js' | relative_url }}"></script>
29
-
30
- <!-- add dummy progress bar -->
31
- <script>
32
- var options = {
33
- classname: 'nanobar',
34
- id: 'top-progress-bar'
35
- };
36
- var nanobar = new Nanobar(options);
37
- nanobar.go( 30 );
38
- nanobar.go( 76 );
39
- nanobar.go(100);
40
- </script>
41
-
42
- <!-- MathJax for LaTex -->
43
- <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
44
-
45
- <!-- Meta -->
46
- <meta charset="utf-8">
47
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
48
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
49
-
50
- <!-- includes/seo.html -->
51
- {% include seo.html %}
52
-
53
- <!-- SEO https://analytics.google.com/ -->
54
-
55
- <!-- Meta data attributes -->
56
- {% if page.title %}
57
- <meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">
58
- {% endif %}
59
- {% if page.description %}
60
- <meta itemprop="description" content="{{ page.description | markdownify | strip_html | strip_newlines | escape_once }}">
61
- {% elsif page.excerpt %}
62
- <meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once}} ">
63
- {% endif %}
64
- {% if page.date %}
65
- <meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">
66
- {% endif %}
67
- {% if page.last_modified_at %}
68
- <meta itemprop="dateModified" content="{{ page.lastmod | date_to_xmlschema }}">
69
- {% endif %}
70
-
71
- <!-- Google Analytics -->
72
- {% include google-analytics.html %}
73
-
74
-
75
- <!-- Styles -->
76
-
77
- <!-- CDN Styles -->
78
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
79
-
80
- <!-- Local Install -->
81
- <!-- <script src="/assets/js/bootstrap.js"></script> -->
82
-
83
- <!-- Tailwind CDN -->
84
- <!-- TODO: Add tailwind -->
85
- <!-- <script src="https://cdn.tailwindcss.com"></script> -->
86
-
87
- <!-- Bootstrap Icons -->
88
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
89
-
90
- <!-- Custom Styles -->
91
- <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
92
- <!-- Custom CSS -->
93
- <link rel="stylesheet" href="{{'/assets/css/custom.css' | relative_url }}">
94
- <!-- TODO: Replace this css with a compiled sass. currently, when docs.scss is compiled to main.css, the scroll spy doesn't work -->
95
- <!-- <link rel="stylesheet" href="/assets/css/docs.css"> -->
@@ -1,79 +0,0 @@
1
- <!--
2
- file: header.html
3
- path: /_includes/header.html
4
- includes: branding.html, navbar.html, info-bar.html, halfmoon.html
5
- TODO: Fix Nanobar progress bar
6
- -->
7
-
8
- <header id="navbar" class="container-fluid text-center z-1" role="navigation">
9
-
10
- <!-- Top Navigation Bar -->
11
- <div class="navbar navbar-expand-lg bg-body-tertiary flex-nowrap justify-content-center bottom-shadow">
12
-
13
- <div class="nanobar" id="top-progress-bar" style="position: fixed;">
14
- <div class="bar"></div>
15
- </div>
16
- <!-- Main Navbar -->
17
- <nav class=" container-xl order-2 order-lg-1 grid gap-1">
18
-
19
- <!-- Offcanvas button for left side bar in mobile view -->
20
- <div class="bd-navbar-toggle ">
21
- <button class="navbar-toggler p-2"
22
- type="button"
23
- data-bs-toggle="offcanvas"
24
- data-bs-target="#bdSidebar"
25
- aria-controls="bdSidebar"
26
- aria-label="Toggle navigation">
27
- <span class="bi bi-list"></span>
28
- </button>
29
- </div>
30
-
31
- <!-- Home and Root Logo -->
32
- <div class="container d-inline-flex text-center ">
33
- <!-- Home Link -->
34
- {%- for home in site.data.navigation.home -%}
35
- <a class="btn " href="{{ home.url | relative_url }}">
36
- <i class="{{ site.default_icon}} {{ home.icon }}" ></i>
37
- </a>
38
- {% endfor %}
39
- <!-- Brand Logo to root -->
40
- <!-- set the URL for the logo image in the _config file -->
41
- {% capture logo_path %}{{ site.logo }}{% endcapture %}
42
- <a class="navbar-brand" href="{{ site.baseurl }}/">
43
- <img src="{{ logo_path | relative_url }}" alt="Logo" width="30" height="30">
44
- </a>
45
- </div>
46
- <!-- include branding.html -->
47
- {% include branding.html %}
48
-
49
- <!-- include navbar.html -->
50
- {% include navbar.html %}
51
-
52
- <!-- Settings modal button -->
53
- <div
54
- class="btn"
55
- data-bs-toggle="modal"
56
- data-bs-target="#info-section"
57
- aria-expanded="false"
58
- aria-controls="#info-section"
59
- role="button" >
60
- <i
61
- type="button"
62
- class="{{site.default_icon}} bi-gear">
63
- </i>
64
- </div>
65
-
66
- <!-- Offcanvas button for nav links -->
67
- <div class="bd-navbar-toggle ">
68
- <button class="navbar-toggler p-2"
69
- type="button"
70
- data-bs-toggle="offcanvas"
71
- data-bs-target="#bdNavbar"
72
- aria-controls="bdNavbar"
73
- aria-label="Toggle navigation">
74
- <span class="bi bi-three-dots"></span>
75
- </button>
76
- </div>
77
- </nav>
78
- </div>
79
- </header>
data/_includes/intro.html DELETED
@@ -1,68 +0,0 @@
1
- <!--
2
- file: _intro.html
3
- description: This is the intro section of the blog post. It includes the title, author, and excerpt of the post.
4
- path: _includes/intro.html
5
- -->
6
-
7
- {% if page.collection %}
8
- {% capture page_dir %}{{ site.collections_dir }}{% endcapture %}
9
- {% assign testvar = "collection exists" %}
10
- {% endif %}
11
-
12
- <!-- Intro Section -->
13
-
14
- <div class="bd-intro pt-5 ps-lg-2 position-relative" style="
15
- background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{{site.baseurl}}/{{ site.public_folder }}/{{ page.preview | default: site.info_banner }}') no-repeat center center / cover;
16
- color: #fff;">
17
-
18
- <!-- Share Icon with Dropdown for Multiple Sharing Options -->
19
- <div class="position-absolute top-0 end-0 m-3">
20
- <div class="dropdown">
21
- <button class="btn btn-info dropdown-toggle" type="button" id="shareDropdown" data-bs-toggle="dropdown" aria-expanded="false">
22
- <i class="bi bi-share"></i>
23
- </button>
24
- <ul class="dropdown-menu" aria-labelledby="shareDropdown">
25
- <li>
26
- <a class="dropdown-item" href="https://reddit.com/submit?url={{ page.url | absolute_url | url_encode }}&amp;title={{ page.title | url_encode }}" target="_blank">
27
- Share on Reddit
28
- </a>
29
- </li>
30
- <li>
31
- <script src="https://platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script>
32
- <script type="IN/Share" data-url="{{ page.url | absolute_url | url_encode }}"></script>
33
- </li>
34
- <li>
35
- <button class="dropdown-item" onclick='navigator.clipboard.writeText("{{ page.url | absolute_url }}");'>
36
- Copy Link
37
- </button>
38
- </li>
39
- </ul>
40
- </div>
41
- </div>
42
-
43
-
44
- <script>
45
- document.addEventListener('DOMContentLoaded', function () {
46
- var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
47
- var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
48
- return new bootstrap.Popover(popoverTriggerEl);
49
- });
50
-
51
- // Optional: Check if the clipboard API is supported
52
- if (!navigator.clipboard) {
53
- console.warn('Clipboard API not supported');
54
- }
55
- });
56
- </script>
57
-
58
- <br>
59
- <h1>{{ page.title }}</h1>
60
- <p>By {{ page.author | default: site.author.name }}</p>
61
- <p>{{ page.description }}</p>
62
- <p>Estimated reading time: {{ content | number_of_words | divided_by:200 }} minutes</p>
63
- <!-- Edit on Github Button -->
64
- <a href="https://github.com/{{ site.repository }}/blob/master/{{ page_dir }}/{{ page.path }}" class="btn btn-dark position-absolute bottom-0 end-0 m-3">
65
- <i class="bi bi-github"></i>
66
- <span class="d-none d-sm-inline">Edit on Github</span>
67
- </a>
68
- </div>
@@ -1,34 +0,0 @@
1
- <!--
2
- file: navbar.html
3
- path: /includes/navbar.html
4
- includes:
5
- -->
6
-
7
- <!-- Navigation Links - Offcanvas -->
8
- <div class="offcanvas offcanvas-end col-lg-2" tabindex="-1" id="bdNavbar" aria-labelledby="bdNavbar">
9
-
10
- <!-- Main Navigation Header - Offcanvas -->
11
- <div class="offcanvas-header border-bottom">
12
- <h5 class="offcanvas-title" id="mainNavOffcanvasLabel">Main Navigation</h5>
13
- <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close" data-bs-target="#bdNavbar"></button>
14
- </div>
15
-
16
- <!-- Main Navigation List - Offcanvas -->
17
- <ul class="navbar-nav offcanvas-body justify-content-lg-center text-start" >
18
- {%- for link in site.data.navigation.main -%}
19
- <div class="btn-group">
20
- <a href="{{ link.url | relative_url }}" class=" nav-link">{{ link.title }}</a>
21
- {% if link.sublinks %}
22
- <button type="button" class="nav-link dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
23
- <span class="visually-hidden">Toggle Dropdown</span>
24
- </button>
25
- <div class="dropdown-menu" aria-labelledby="navbarDropdown">
26
- {%- for sublink in link.sublinks -%}
27
- <a class="dropdown-item" href="{{ sublink.url | relative_url }}">{{ sublink.title }}</a>
28
- {%- endfor -%}
29
- </div>
30
- {% endif %}
31
- </div>
32
- {% endfor %}
33
- </ul>
34
- </div>
@@ -1,41 +0,0 @@
1
- <!--
2
- file: sidebar.html
3
- path: _includes/sidebar.html
4
- includes: nav_list.html
5
- -->
6
-
7
- <!-- Sidebar Left Navigation - Offcanvas -->
8
- <div class="offcanvas-lg offcanvas-start" tabindex="-1" id="bdSidebar" aria-labelledby="bdSidebarOffcanvasLabel">
9
-
10
- <!-- Sidebar Header - Offcanvas -->
11
- <div class="offcanvas-header border-bottom">
12
- <h5 class="offcanvas-title" id="bdSidebarOffcanvasLabel">Browse docs</h5>
13
- <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close" data-bs-target="#bdSidebar"></button>
14
- </div>
15
-
16
- <!-- Left Sidebar Nav List - Offcanvas -->
17
- <div class="offcanvas-body overflow-auto">
18
-
19
- <!-- Dynamic listing of pages in side bar -->
20
-
21
- {% if page.sidebar.nav == "dynamic" %}
22
- <div class="list-group" id="sidebar-content">
23
- {% assign folders = site.pages | where_exp: "item", "item.path contains 'index.md'" | sort: 'path' %}
24
- {% include sidebar-folders.html folders=folders %}
25
- </div>
26
-
27
- <!-- Dynamic listing of page categories in side bar -->
28
- {% elsif page.sidebar.nav == "searchCats" %}
29
- <div class="list-group" id="sidebar-content">
30
- {% assign categories = site.categories | sort %}
31
- {% include sidebar-categories.html categories=categories %}
32
-
33
- <!-- Manually defined navigation list in _data -->
34
- {% elsif page.sidebar.nav %}
35
- <!-- Includes nav_list.html -->
36
- <nav class="w-100">
37
- {% include nav_list.html nav=page.sidebar.nav %}
38
- </nav>
39
- </div>
40
- {% endif %}
41
- </div>
data/_includes/toc DELETED
@@ -1,7 +0,0 @@
1
- <aside class="sidebar__right">
2
- <nav class="toc" markdown="1">
3
- <header><h4 class="nav__title"><i class="fas fa-{{ include.icon | default: 'file-alt' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
4
- * Auto generated table of contents
5
- {:toc .toc__menu}
6
- </nav>
7
- </aside>
@@ -1,8 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <h2>Demo JavaScript in Head</h2>
6
-
7
- <p id="demo">A Paragraph</p>
8
- <button type="button" onclick="myFunction()">Try it</button>
File without changes
File without changes
File without changes
File without changes