raikar10 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +50 -0
  4. data/_includes/breadcrumb.html +17 -0
  5. data/_includes/footer.html +54 -0
  6. data/_includes/head.html +26 -0
  7. data/_includes/header.html +34 -0
  8. data/_includes/icon.html +3 -0
  9. data/_includes/nav_page.html +57 -0
  10. data/_includes/nav_side.html +68 -0
  11. data/_includes/toc_pure_liquid.html +68 -0
  12. data/_layouts/default.html +252 -0
  13. data/_layouts/page.html +5 -0
  14. data/_layouts/post.html +5 -0
  15. data/_sass/_accordion.scss +77 -0
  16. data/_sass/_article.scss +96 -0
  17. data/_sass/_base.scss +48 -0
  18. data/_sass/_bootstrap-icons.scss +7 -0
  19. data/_sass/_breadcrumb.scss +20 -0
  20. data/_sass/_btn.scss +9 -0
  21. data/_sass/_callout.scss +13 -0
  22. data/_sass/_fonts.scss +63 -0
  23. data/_sass/_footer.scss +38 -0
  24. data/_sass/_helpers.scss +2 -0
  25. data/_sass/_icons.scss +27 -0
  26. data/_sass/_link-main.scss +22 -0
  27. data/_sass/_list-links.scss +33 -0
  28. data/_sass/_list-tags.scss +9 -0
  29. data/_sass/_navbar.scss +81 -0
  30. data/_sass/_search.scss +51 -0
  31. data/_sass/_section-main.scss +54 -0
  32. data/_sass/_socials.scss +26 -0
  33. data/_sass/_switch.scss +56 -0
  34. data/_sass/_table.scss +100 -0
  35. data/_sass/_theme.scss +63 -0
  36. data/_sass/_tile.scss +34 -0
  37. data/_sass/_tiles.scss +9 -0
  38. data/_sass/_variables.scss +11 -0
  39. data/_sass/_widget.scss +15 -0
  40. data/_sass/_widgets.scss +12 -0
  41. data/_sass/bootstrap/scss/_accordion.scss +158 -0
  42. data/_sass/bootstrap/scss/_alert.scss +68 -0
  43. data/_sass/bootstrap/scss/_badge.scss +38 -0
  44. data/_sass/bootstrap/scss/_breadcrumb.scss +40 -0
  45. data/_sass/bootstrap/scss/_button-group.scss +142 -0
  46. data/_sass/bootstrap/scss/_buttons.scss +207 -0
  47. data/_sass/bootstrap/scss/_card.scss +239 -0
  48. data/_sass/bootstrap/scss/_carousel.scss +244 -0
  49. data/_sass/bootstrap/scss/_close.scss +63 -0
  50. data/_sass/bootstrap/scss/_containers.scss +41 -0
  51. data/_sass/bootstrap/scss/_dropdown.scss +250 -0
  52. data/_sass/bootstrap/scss/_forms.scss +9 -0
  53. data/_sass/bootstrap/scss/_functions.scss +302 -0
  54. data/_sass/bootstrap/scss/_grid.scss +39 -0
  55. data/_sass/bootstrap/scss/_helpers.scss +12 -0
  56. data/_sass/bootstrap/scss/_images.scss +42 -0
  57. data/_sass/bootstrap/scss/_list-group.scss +197 -0
  58. data/_sass/bootstrap/scss/_maps.scss +174 -0
  59. data/_sass/bootstrap/scss/_mixins.scss +42 -0
  60. data/_sass/bootstrap/scss/_modal.scss +237 -0
  61. data/_sass/bootstrap/scss/_nav.scss +209 -0
  62. data/_sass/bootstrap/scss/_navbar.scss +288 -0
  63. data/_sass/bootstrap/scss/_offcanvas.scss +146 -0
  64. data/_sass/bootstrap/scss/_pagination.scss +109 -0
  65. data/_sass/bootstrap/scss/_placeholders.scss +51 -0
  66. data/_sass/bootstrap/scss/_popover.scss +196 -0
  67. data/_sass/bootstrap/scss/_progress.scss +68 -0
  68. data/_sass/bootstrap/scss/_reboot.scss +610 -0
  69. data/_sass/bootstrap/scss/_root.scss +188 -0
  70. data/_sass/bootstrap/scss/_spinners.scss +85 -0
  71. data/_sass/bootstrap/scss/_tables.scss +164 -0
  72. data/_sass/bootstrap/scss/_toasts.scss +73 -0
  73. data/_sass/bootstrap/scss/_tooltip.scss +119 -0
  74. data/_sass/bootstrap/scss/_transitions.scss +27 -0
  75. data/_sass/bootstrap/scss/_type.scss +106 -0
  76. data/_sass/bootstrap/scss/_utilities.scss +806 -0
  77. data/_sass/bootstrap/scss/_variables-dark.scss +85 -0
  78. data/_sass/bootstrap/scss/_variables.scss +1743 -0
  79. data/_sass/bootstrap/scss/bootstrap-grid.scss +62 -0
  80. data/_sass/bootstrap/scss/bootstrap-reboot.scss +10 -0
  81. data/_sass/bootstrap/scss/bootstrap-utilities.scss +19 -0
  82. data/_sass/bootstrap/scss/bootstrap.scss +52 -0
  83. data/_sass/bootstrap/scss/forms/_floating-labels.scss +90 -0
  84. data/_sass/bootstrap/scss/forms/_form-check.scss +188 -0
  85. data/_sass/bootstrap/scss/forms/_form-control.scss +214 -0
  86. data/_sass/bootstrap/scss/forms/_form-range.scss +91 -0
  87. data/_sass/bootstrap/scss/forms/_form-select.scss +80 -0
  88. data/_sass/bootstrap/scss/forms/_form-text.scss +11 -0
  89. data/_sass/bootstrap/scss/forms/_input-group.scss +132 -0
  90. data/_sass/bootstrap/scss/forms/_labels.scss +36 -0
  91. data/_sass/bootstrap/scss/forms/_validation.scss +12 -0
  92. data/_sass/bootstrap/scss/helpers/_clearfix.scss +3 -0
  93. data/_sass/bootstrap/scss/helpers/_color-bg.scss +10 -0
  94. data/_sass/bootstrap/scss/helpers/_colored-links.scss +32 -0
  95. data/_sass/bootstrap/scss/helpers/_focus-ring.scss +5 -0
  96. data/_sass/bootstrap/scss/helpers/_icon-link.scss +25 -0
  97. data/_sass/bootstrap/scss/helpers/_position.scss +36 -0
  98. data/_sass/bootstrap/scss/helpers/_ratio.scss +26 -0
  99. data/_sass/bootstrap/scss/helpers/_stacks.scss +15 -0
  100. data/_sass/bootstrap/scss/helpers/_stretched-link.scss +15 -0
  101. data/_sass/bootstrap/scss/helpers/_text-truncation.scss +7 -0
  102. data/_sass/bootstrap/scss/helpers/_visually-hidden.scss +8 -0
  103. data/_sass/bootstrap/scss/helpers/_vr.scss +8 -0
  104. data/_sass/bootstrap/scss/mixins/_alert.scss +18 -0
  105. data/_sass/bootstrap/scss/mixins/_backdrop.scss +14 -0
  106. data/_sass/bootstrap/scss/mixins/_banner.scss +7 -0
  107. data/_sass/bootstrap/scss/mixins/_border-radius.scss +78 -0
  108. data/_sass/bootstrap/scss/mixins/_box-shadow.scss +18 -0
  109. data/_sass/bootstrap/scss/mixins/_breakpoints.scss +127 -0
  110. data/_sass/bootstrap/scss/mixins/_buttons.scss +70 -0
  111. data/_sass/bootstrap/scss/mixins/_caret.scss +69 -0
  112. data/_sass/bootstrap/scss/mixins/_clearfix.scss +9 -0
  113. data/_sass/bootstrap/scss/mixins/_color-mode.scss +21 -0
  114. data/_sass/bootstrap/scss/mixins/_color-scheme.scss +7 -0
  115. data/_sass/bootstrap/scss/mixins/_container.scss +11 -0
  116. data/_sass/bootstrap/scss/mixins/_deprecate.scss +10 -0
  117. data/_sass/bootstrap/scss/mixins/_forms.scss +153 -0
  118. data/_sass/bootstrap/scss/mixins/_gradients.scss +47 -0
  119. data/_sass/bootstrap/scss/mixins/_grid.scss +151 -0
  120. data/_sass/bootstrap/scss/mixins/_image.scss +16 -0
  121. data/_sass/bootstrap/scss/mixins/_list-group.scss +26 -0
  122. data/_sass/bootstrap/scss/mixins/_lists.scss +7 -0
  123. data/_sass/bootstrap/scss/mixins/_pagination.scss +10 -0
  124. data/_sass/bootstrap/scss/mixins/_reset-text.scss +17 -0
  125. data/_sass/bootstrap/scss/mixins/_resize.scss +6 -0
  126. data/_sass/bootstrap/scss/mixins/_table-variants.scss +24 -0
  127. data/_sass/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  128. data/_sass/bootstrap/scss/mixins/_transition.scss +26 -0
  129. data/_sass/bootstrap/scss/mixins/_utilities.scss +97 -0
  130. data/_sass/bootstrap/scss/mixins/_visually-hidden.scss +33 -0
  131. data/_sass/bootstrap/scss/tests/jasmine.js +18 -0
  132. data/_sass/bootstrap/scss/tests/mixins/_color-modes.test.scss +69 -0
  133. data/_sass/bootstrap/scss/tests/mixins/_media-query-color-mode-full.test.scss +8 -0
  134. data/_sass/bootstrap/scss/tests/mixins/_utilities.test.scss +393 -0
  135. data/_sass/bootstrap/scss/tests/sass-true/register.js +15 -0
  136. data/_sass/bootstrap/scss/tests/sass-true/runner.js +19 -0
  137. data/_sass/bootstrap/scss/tests/utilities/_api.test.scss +75 -0
  138. data/_sass/bootstrap/scss/utilities/_api.scss +47 -0
  139. data/_sass/bootstrap/scss/vendor/_rfs.scss +354 -0
  140. data/_sass/raikar09.scss +1 -0
  141. data/assets/css/fonts/IBMPlexMono-Light.woff +0 -0
  142. data/assets/css/fonts/IBMPlexMono-Light.woff2 +0 -0
  143. data/assets/css/fonts/Jost-Bold.woff +0 -0
  144. data/assets/css/fonts/Jost-Bold.woff2 +0 -0
  145. data/assets/css/fonts/Jost-Italic.woff +0 -0
  146. data/assets/css/fonts/Jost-Italic.woff2 +0 -0
  147. data/assets/css/fonts/Jost-Regular.woff +0 -0
  148. data/assets/css/fonts/Jost-Regular.woff2 +0 -0
  149. data/assets/css/fonts/Jost-SemiBold.woff +0 -0
  150. data/assets/css/fonts/Jost-SemiBold.woff2 +0 -0
  151. data/assets/css/fonts/Ubuntu-Regular.woff +0 -0
  152. data/assets/css/fonts/Ubuntu-Regular.woff2 +0 -0
  153. data/assets/css/fonts/ZillaSlab-Regular.woff +0 -0
  154. data/assets/css/fonts/ZillaSlab-Regular.woff2 +0 -0
  155. data/assets/css/style.scss +31 -0
  156. data/assets/img/bootstrap-icons.svg +1 -0
  157. data/assets/img/ico-1.svg +17 -0
  158. data/assets/img/ico-2.svg +12 -0
  159. data/assets/img/ico-3.svg +18 -0
  160. data/assets/img/ico-4.svg +19 -0
  161. data/assets/img/ico-5.svg +13 -0
  162. data/assets/img/ico-6.svg +22 -0
  163. data/assets/img/ico-account.svg +17 -0
  164. data/assets/img/ico-clock.svg +23 -0
  165. data/assets/img/ico-facebook-square.svg +1 -0
  166. data/assets/img/ico-facebook.svg +11 -0
  167. data/assets/img/ico-github.svg +1 -0
  168. data/assets/img/ico-home.svg +11 -0
  169. data/assets/img/ico-instagram.svg +13 -0
  170. data/assets/img/ico-linkedin.svg +1 -0
  171. data/assets/img/ico-location.svg +12 -0
  172. data/assets/img/ico-mail.svg +12 -0
  173. data/assets/img/ico-moon.svg +11 -0
  174. data/assets/img/ico-pen.svg +13 -0
  175. data/assets/img/ico-phone.svg +12 -0
  176. data/assets/img/ico-search.svg +16 -0
  177. data/assets/img/ico-sun.svg +11 -0
  178. data/assets/img/ico-tag.svg +11 -0
  179. data/assets/img/ico-twitter.svg +1 -0
  180. data/assets/img/ico-whatsapp.svg +12 -0
  181. data/assets/img/ico-youtube.svg +1 -0
  182. data/assets/img/image-2.png +0 -0
  183. data/assets/img/image.jpg +0 -0
  184. data/assets/img/logo.png +0 -0
  185. data/assets/js/bootstrap.bundle.min.js +7 -0
  186. data/assets/js/functions.js +14 -0
  187. data/assets/js/jquery.min.js +2 -0
  188. data/assets/js/script.js +7 -0
  189. metadata +279 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c16bc4c2b58337a892f271837c81cbed7f1be6ef8dc6a398650719ac89d86e84
4
+ data.tar.gz: cfce8a918bb9e65b6457122652f16391de0ceed4e8d6fab21108f1e0baa3890e
5
+ SHA512:
6
+ metadata.gz: 024faf201a08f2ebede1a018d458cde5052f7a320dee10e9de8a8fe2809172202f07936ad76fe9c964b2f7cbaca0196ca14e12528288d869246659eed2b49c1a
7
+ data.tar.gz: 321ed754eeb88b273fa33cbf1aca4133c5fac131c7e3f9810cff4a385d582b21c7bff068ce0648e2fe75dbdc51d9bdbc0e3f5ab46ba7f5d7fe4f21d4b2514907
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 Soumya
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # raikar10
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "raikar10"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: raikar10
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install raikar10
30
+
31
+ ## Usage
32
+
33
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
34
+
35
+ ## Contributing
36
+
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/raikar10. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
38
+
39
+ ## Development
40
+
41
+ To set up your environment to develop this theme, run `bundle install`.
42
+
43
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
44
+
45
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
46
+ To add a custom directory to your theme-gem, please edit the regexp in `raikar10.gemspec` accordingly.
47
+
48
+ ## License
49
+
50
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,17 @@
1
+ <nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
2
+ <ol class="breadcrumb">
3
+ <li class="breadcrumb-item active" aria-current="page">
4
+ <a href="#">
5
+ <i class="ico-home">
6
+ <img src="assets/img/ico-home.svg" alt="" width="20" height="18">
7
+ </i>
8
+ </a>
9
+ </li>
10
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Operations Guide</a></li>
11
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Level 1</a></li>
12
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Level 2</a></li>
13
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Level 3</a></li>
14
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Level 4</a></li>
15
+ <li class="breadcrumb-item" aria-current="page"><a href="#">Level 5</a></li>
16
+ </ol>
17
+ </nav>
@@ -0,0 +1,54 @@
1
+ <footer class="footer bg-dark">
2
+ <div class="footer__content">
3
+ <div class="container">
4
+ <div class="socials">
5
+ <ul>
6
+ <li>
7
+ <a href="#">
8
+ <img src="assets/img/ico-linkedin.svg" alt="" width="30" height="30">
9
+ </a>
10
+ </li>
11
+
12
+ <li>
13
+ <a href="#">
14
+ <img src="assets/img/ico-facebook-square.svg" alt="" width="30" height="30">
15
+ </a>
16
+ </li>
17
+
18
+ <li>
19
+ <a href="#">
20
+ <img src="assets/img/ico-twitter.svg" alt="" width="37" height="32">
21
+ </a>
22
+ </li>
23
+
24
+ <li>
25
+ <a href="#">
26
+ <img src="assets/img/ico-youtube.svg" alt="" width="43" height="34">
27
+ </a>
28
+ </li>
29
+
30
+ <li>
31
+ <a href="#">
32
+ <img src="assets/img/ico-github.svg" alt="" width="31" height="31">
33
+ </a>
34
+ </li>
35
+ </ul>
36
+ </div><!-- /.socials -->
37
+ </div><!-- /.container -->
38
+ </div><!-- /.footer__content -->
39
+
40
+ <div class="footer__bar">
41
+ <p class="m-0">&copy; 2023 INSIGHT</p>
42
+
43
+ <ul>
44
+ <li>
45
+ <a href="#">Privacy policy</a>
46
+ </li>
47
+
48
+ <li>
49
+ <a href="#">Cookies settings</a>
50
+ </li>
51
+ </ul>
52
+ </div><!-- /.footer__bar -->
53
+ </footer>
54
+ <script src="{{ '/assets/js/script.js' | prepend: site.baseurl }}"></script>
@@ -0,0 +1,26 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <meta name="title" content="{{ title | xml_escape }}">
5
+ <meta name="description" content="{{ description | xml_escape }}">
6
+ <meta name="image" content="{{ image }}">
7
+ <meta property="og:type" content="website">
8
+ <meta property="og:site_name" content="{{ site.title | xml_escape }}">
9
+ <meta property="og:url" content="{{ url }}">
10
+ <meta property="og:title" content="{{ title | xml_escape }}">
11
+ <meta property="og:description" content="{{ description | xml_escape }}">
12
+ <meta property="og:image" content="{{ image }}">
13
+ <meta property="og:image:type" content="image/jpg">
14
+ <meta property="og:image:width" content="1200">
15
+ <meta property="og:image:height" content="630">
16
+ <meta property="og:image:alt" content="{{ site.title | xml_escape }}">
17
+ <meta property="twitter:card" content="summary_large_image">
18
+ <meta property="twitter:url" content="{{ url }}">
19
+ <meta property="twitter:title" content="{{ title | xml_escape }}">
20
+ <meta property="twitter:description" content="{{ description | xml_escape }}">
21
+ <meta property="twitter:site" content="@{{ site.twitter }}">
22
+ <meta property="twitter:image" content="{{ image }}">
23
+ <link rel="shortcut icon" href="{{ '/favicon.ico' | prepend: site.baseurl }}">
24
+ <link rel="stylesheet" href="{{ '/assets/css/style.css' | prepend: site.baseurl }}">
25
+ <title>{{ title }}</title>
26
+ </head>
@@ -0,0 +1,34 @@
1
+ <header class="navbar navbar-light bg-danger navbar-expand-lg border-bottom shadow-sm">
2
+ <a class="navbar-brand" href="{{ '/' | prepend: site.baseurl }}">
3
+ <img src="assets/img/logo.png" alt="" width="215" height="34">
4
+ </a>
5
+
6
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
7
+ <span class="navbar-toggler-icon"></span>
8
+ </button>
9
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
10
+ <form class="search d-flex me-auto" role="search">
11
+ <input class="form-control me-2" type="search" placeholder="Search the docs" aria-label="Search">
12
+ <button class="btn btn--transparent" type="submit">{% include icon.html name='search' %}</button>
13
+ </form>
14
+
15
+ <ul class="navbar-nav mb-2 mb-lg-0">
16
+ <li class="nav-item">
17
+ <a class="nav-link active" aria-current="page" href="#">Home</a>
18
+ </li>
19
+ <li class="nav-item">
20
+ <a class="nav-link" href="#">Contribute</a>
21
+ </li>
22
+ <li class="nav-item">
23
+ <a class="nav-link" href="#">Glossary</a>
24
+ </li>
25
+ </ul>
26
+
27
+ <a href="#" class="navbar-login">
28
+ <span>Log In</span>
29
+ <i class="ico-account">
30
+ <img src="assets/img/ico-account.svg" alt="" width="25" height="25">
31
+ </i>
32
+ </a>
33
+ </div>
34
+ </header>
@@ -0,0 +1,3 @@
1
+ {%- if include.name -%}
2
+ <svg class="bi{% if include.class %} {{ include.class }}{% endif %}"><use xlink:href="{{ '/assets/img/bootstrap-icons.svg' | prepend: site.baseurl }}#{{- include.name -}}"/></svg>
3
+ {%- endif -%}
@@ -0,0 +1,57 @@
1
+ <div class="section__content-aside">
2
+ <div class="widgets">
3
+ <div class="widget widgets__widget">
4
+ <h6>Page details</h6>
5
+
6
+ <a href="#" class="link-main">
7
+ <i class="ico-pen">
8
+ <img src="assets/img/ico-pen.svg" alt="" width="17" height="17">
9
+ </i>
10
+
11
+ <span>Edit this page</span>
12
+ </a>
13
+ </div><!-- /.widget widgets__widget -->
14
+
15
+ {%- unless page.notags == true -%}
16
+ {%- assign keywords = page.keywords | split:"," -%}
17
+ {%- if keywords.size > 0 -%}
18
+ <div class="widget widgets__widget">
19
+ <h6>Tags</h6>
20
+
21
+ <ul class="list-tags">
22
+ {%- for keyword in keywords -%}
23
+ {%- assign strippedKeyword = keyword | strip -%}
24
+ <li>
25
+ <!-- <a href="/search/?q={{ strippedKeyword }}" class="nomunge"> -->
26
+ <i class="ico-tag">
27
+ <img src="assets/img/ico-tag.svg" alt="" width="16" height="16">
28
+ </i>
29
+ <span>{{ strippedKeyword }}</span>
30
+ <!-- </a> -->
31
+ </li>
32
+ {%- endfor -%}
33
+ </ul><!-- /.list-tags -->
34
+ </div><!-- /.widget widgets__widget -->
35
+
36
+ {%- endif -%}
37
+ {%- endunless %}
38
+
39
+ <div class="widget widgets__widget">
40
+ <h6>Contents</h6>
41
+
42
+ <ul class="list-links widget__list-links">
43
+ <li class="is-active">
44
+
45
+ <a href="#" class="">What is a container?</a>
46
+
47
+ <ul>
48
+ <li>
49
+ <a href="#">Lorem ipsum</a>
50
+ {% include toc_pure_liquid.html html=content sanitize=true class="inline_toc" id="my_toc" toc_min=2 toc_max=3 %}
51
+ </li>
52
+ </ul>
53
+
54
+ </ul>
55
+ </div><!-- /.widget widgets__widget -->
56
+ </div><!-- /.widgets -->
57
+ </div><!-- /.section__content-aside -->
@@ -0,0 +1,68 @@
1
+ {% assign pagesByFolder = site.pages | group_by_exp: 'page', 'page.path | split: "/" | first' %}
2
+ {% for folder in pagesByFolder %}
3
+ {% if folder.items.size > 1 %}
4
+ <div class="accordion" id="accordionLevels">
5
+ <div class="accordion-item">
6
+ <h2 class="accordion-header">
7
+ <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne">
8
+ {{ folder.name }}
9
+ </button>
10
+ </h2>
11
+
12
+ <div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show">
13
+ <div class="accordion-body">
14
+ <ul>
15
+ <li>
16
+ <a href="#"></a>
17
+ </li>
18
+ </ul>
19
+ </div>
20
+ </div>
21
+
22
+ </div>
23
+
24
+ </div>
25
+ {% endif %}
26
+ {% endfor %}
27
+
28
+
29
+ <!--
30
+ <ul>
31
+ {% assign pagesByFolder = site.pages | group_by_exp: 'page', 'page.url | split: "/" | first' %}
32
+ {% for folder in pagesByFolder %}
33
+ <li>
34
+ {{ folder.name }}
35
+ {% if folder.items.size > 0 %}
36
+ <ul>
37
+ {% assign subpagesByFolder = folder.items | group_by_exp: 'subpage', 'subpage.url | split: "/" | slice: 1' %}
38
+ {% for subfolder in subpagesByFolder %}
39
+ <li>
40
+ {{ subfolder.name }}
41
+ {% if subfolder.items.size > 0 %}
42
+ <ul>
43
+ {% for subpage in subfolder.items %}
44
+ <li><a href="{{ subpage.url }}">{{ subpage.title }}</a></li>
45
+ {% endfor %}
46
+ </ul>
47
+ {% endif %}
48
+ </li>
49
+ {% endfor %}
50
+ </ul>
51
+ {% endif %}
52
+ </li>
53
+ {% endfor %}
54
+ </ul>
55
+ -->
56
+
57
+ <!--
58
+ Let's break down how this code works:
59
+ The site.pages variable is used to get a list of all the pages in your Jekyll site.
60
+ The group_by_exp filter is used to group the pages by the first segment of their url. This creates a list of folders, each of which contains the pages in that folder.
61
+ The first level of the navigation tree is generated by looping through the folders and displaying their names.
62
+ For each folder, we check if there are any subpages. If there are, we generate a sub-menu for that folder.
63
+ We use group_by_exp again to group the subpages by the second segment of their url. This creates a list of subfolders, each of which contains the subpages in that subfolder.
64
+ We loop through the subfolders and display their names.
65
+ For each subfolder, we check if there are any sub-subpages. If there are, we generate a sub-menu for that subfolder.
66
+ Finally, we loop through the sub-subpages and display their titles and URLs as links.
67
+ Note that this code assumes that your Jekyll pages are organized into folders, and that each folder corresponds to a top-level item in your navigation tree. If your pages are organized differently, you may need to modify the code to suit your needs.
68
+ -->
@@ -0,0 +1,68 @@
1
+ {% capture tocWorkspace %}
2
+ {% comment %}
3
+ "...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
4
+ Usage:
5
+ {% include toc_pure_liquid.html html=content sanitize=true class="inline_toc" id="my_toc" toc_min=2 toc_max=3 %}
6
+
7
+ Variables:
8
+ * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
9
+ * sanitize (bool) - when set to true, the headers will be sanitized in the TOC
10
+ * class (string) - a CSS class assigned to the TOC
11
+ * id (string) - an ID to assigned to the TOC
12
+ * toc_min (int) - the minimum TOC header level to use (if not set, check page, then site, then default to 2)
13
+ * toc_max (int) - the maximum TOC header level to use (if not set, check page, then site, then default to 3)
14
+
15
+ Output:
16
+ An unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
17
+ {% endcomment %}
18
+
19
+ {% capture my_toc %}{% endcapture %}
20
+ {% assign minHeader = include.toc_min | default: 2 %}
21
+ {% assign maxHeader = include.toc_max | default: 3 %}
22
+ {% assign nodes = include.html | split: '<h' %}
23
+
24
+ {% for node in nodes %}
25
+ {% if node == "" %}
26
+ {% continue %}
27
+ {% endif %}
28
+
29
+ {% assign headerLevel = node | replace: '"', '' | slice: 0, 1 %}
30
+ {% assign headerLevel = headerLevel | times: 1 %}
31
+ {% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
32
+ {% assign _workspace = node | split: '</h' %}
33
+
34
+ {% unless headerLevel >= minHeader %}
35
+ {% continue %}
36
+ {% endunless %}
37
+
38
+ {% if headerLevel > maxHeader %}
39
+ {% continue %}
40
+ {% endif %}
41
+
42
+ {% assign _idWorkspace = _workspace[0] | split: '"' %}
43
+ {% assign html_id = _idWorkspace[1] %}
44
+
45
+ {% capture _hAttrToStrip %}{{ headerLevel }} id="{{ html_id }}">{% endcapture %}
46
+ {% assign header = _workspace[0] | replace: _hAttrToStrip, '' | remove_first: "1>" %}
47
+
48
+ {% assign space = '' %}
49
+ {% for i in (1..indentAmount) %}
50
+ {% assign space = space | prepend: ' ' %}
51
+ {% endfor %}
52
+
53
+ {% capture my_toc %}{{ my_toc }}
54
+ {{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}](#{{ html_id }}){: class="nomunge" }{% endcapture %}
55
+
56
+ {% endfor %}
57
+
58
+ {% if include.class %}
59
+ {% capture my_toc %}{:.{{ include.class }}}
60
+ {{ my_toc | lstrip }}{% endcapture %}
61
+ {% endif %}
62
+
63
+ {% if include.id %}
64
+ {% capture my_toc %}{: #{{ include.id }}}
65
+ {{ my_toc | lstrip }}{% endcapture %}
66
+ {% endif %}
67
+ {% endcapture %}{% assign tocWorkspace = '' %}
68
+ {{ my_toc | markdownify }}