jekyll-theme-zer0 0.1.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 +7 -0
- data/LICENSE +21 -0
- data/README.md +499 -0
- data/_includes/branding.html +43 -0
- data/_includes/breadcrumbs.html +31 -0
- data/_includes/dev-shortcuts.html +57 -0
- data/_includes/footer.html +57 -0
- data/_includes/giscus.html +16 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/google-tag-manager-body.html +8 -0
- data/_includes/google-tag-manager-head.html +10 -0
- data/_includes/halfmoon.html +35 -0
- data/_includes/head.html +95 -0
- data/_includes/header.html +79 -0
- data/_includes/info-section.html +33 -0
- data/_includes/intro.html +27 -0
- data/_includes/js-cdn.html +24 -0
- data/_includes/nav_list.html +63 -0
- data/_includes/navbar.html +34 -0
- data/_includes/powered-by.html +22 -0
- data/_includes/quick-index.html +17 -0
- data/_includes/searchbar.html +10 -0
- data/_includes/seo.html +131 -0
- data/_includes/sidebar-categories.html +21 -0
- data/_includes/sidebar-folders.html +107 -0
- data/_includes/sidebar-left.html +41 -0
- data/_includes/sidebar-right.html +47 -0
- data/_includes/sitemap.html +123 -0
- data/_includes/style.html +1574 -0
- data/_includes/svg.html +81 -0
- data/_includes/toc +7 -0
- data/_includes/toc.html +182 -0
- data/_includes/zer0-env-var.html +88 -0
- data/_layouts/collection.html +42 -0
- data/_layouts/default.html +37 -0
- data/_layouts/home.html +16 -0
- data/_layouts/index.html +8 -0
- data/_layouts/javascript.html +8 -0
- data/_layouts/journals.html +41 -0
- data/_layouts/root.html +54 -0
- data/_sass/custom.scss +331 -0
- data/_sass/it-journey/_docs.scss +3219 -0
- data/_sass/it-journey/_syntax.scss +342 -0
- data/_sass/it-journey/_theme.scss +247 -0
- data/_sass/it-journey/_variables.scss +521 -0
- data/_sass/it-journey/code-copy.scss +105 -0
- data/assets/.DS_Store +0 -0
- data/assets/css/custom.css +120 -0
- data/assets/css/main.scss +22 -0
- data/assets/images/favicon_gpt_computer_retro.png +0 -0
- data/assets/images/gravatar-small.png +0 -0
- data/assets/images/gravatar.png +0 -0
- data/assets/images/info-banner-mountain-wizard.png +0 -0
- data/assets/images/wizard-on-journey.png +0 -0
- data/assets/images/zer0-checkpoint-1.png +0 -0
- data/assets/images/zer0-checkpoint-2.png +0 -0
- data/assets/js/auto-hide-nav.js +18 -0
- data/assets/js/back-to-top.js +24 -0
- data/assets/js/cheetsheet.js +73 -0
- data/assets/js/code-copy.js +27 -0
- data/assets/js/color-modes.js +80 -0
- data/assets/js/docs.min.js +1 -0
- data/assets/js/halfmoon.js +80 -0
- data/assets/js/myScript.js +12 -0
- data/assets/js/nanobar.min.js +1 -0
- data/assets/js/particles-source.js +888 -0
- data/assets/js/particles.js +133 -0
- data/assets/js/side-bar-folders.js +12 -0
- data/assets/particles.json +110 -0
- metadata +153 -0
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
© {{ 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
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
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>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
|
3
|
+
<script>
|
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
|
6
|
+
gtag('js', new Date());
|
|
7
|
+
|
|
8
|
+
gtag('config', '{{ site.google_analytics }}');
|
|
9
|
+
</script>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<!-- Google Tag Manager (noscript) -->
|
|
2
|
+
<noscript>
|
|
3
|
+
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NN8P7RZ"
|
|
4
|
+
height="0" width="0" style="display:none;visibility:hidden">
|
|
5
|
+
</iframe>
|
|
6
|
+
</noscript>
|
|
7
|
+
<!-- End Google Tag Manager (noscript) -->
|
|
8
|
+
<!-- source https://tagmanager.google.com/#/admin/accounts/6005859084/containers/58386588/install?containerDraftId=2 -->
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
title: Google Tag Manager
|
|
3
|
+
file:
|
|
4
|
+
-->
|
|
5
|
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
6
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
7
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
8
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
9
|
+
})(window,document,'script','dataLayer','GTM-NN8P7RZ');</script>
|
|
10
|
+
<!-- End Google Tag Manager -->
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
file: halfmoon.html
|
|
3
|
+
path: _includes/halfmoon.html
|
|
4
|
+
description: This is the snippet for the dark mode switch.
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
<div class="justify-content-end">
|
|
8
|
+
<i class="btn dropdown-toggle" id="bd-theme" type="button" aria-expanded="true" data-bs-toggle="dropdown" data-bs-display="static" aria-label="Toggle theme (dark)">
|
|
9
|
+
<i class="bi bi-circle-half theme-icon-active"><use href="#moon-stars-fill"></use></i>
|
|
10
|
+
<span class="d-none ms-2" id="bd-theme-text">Toggle theme</span>
|
|
11
|
+
</i>
|
|
12
|
+
<ul class="dropdown-menu" aria-labelledby="bd-theme-text" data-bs-popper="static">
|
|
13
|
+
<li>
|
|
14
|
+
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false">
|
|
15
|
+
<svg class="bi me-2 opacity-50"><use href="#sun-fill"></use></svg>
|
|
16
|
+
Light
|
|
17
|
+
<svg class="bi ms-auto d-none"><use href="#check2"></use></svg>
|
|
18
|
+
</button>
|
|
19
|
+
</li>
|
|
20
|
+
<li>
|
|
21
|
+
<button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="dark" aria-pressed="true">
|
|
22
|
+
<svg class="bi me-2 opacity-50"><use href="#moon-stars-fill"></use></svg>
|
|
23
|
+
Dark
|
|
24
|
+
<svg class="bi ms-auto d-none"><use href="#check2"></use></svg>
|
|
25
|
+
</button>
|
|
26
|
+
</li>
|
|
27
|
+
<li>
|
|
28
|
+
<button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="auto" aria-pressed="false">
|
|
29
|
+
<svg class="bi me-2 opacity-50"><use href="#circle-half"></use></svg>
|
|
30
|
+
Auto
|
|
31
|
+
<svg class="bi ms-auto d-none"><use href="#check2"></use></svg>
|
|
32
|
+
</button>
|
|
33
|
+
</li>
|
|
34
|
+
</ul>
|
|
35
|
+
</div>
|
data/_includes/head.html
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
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"> -->
|
|
@@ -0,0 +1,79 @@
|
|
|
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>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
file: info-section.html
|
|
3
|
+
path: _includes/info-section.html
|
|
4
|
+
includes: breadcrumbs.html, searchbar.html, dev-shortcuts.html
|
|
5
|
+
references:
|
|
6
|
+
- https://getbootstrap.com/docs/5.3/components/modal/
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
<!-- Modal -->
|
|
10
|
+
<div class="modal fade" id="info-section" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
|
|
11
|
+
<div class="modal-dialog">
|
|
12
|
+
<div class="modal-content">
|
|
13
|
+
<div class="modal-header">
|
|
14
|
+
<h1 class="modal-title fs-5" id="staticBackdropLabel">Information Highway</h1>
|
|
15
|
+
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="modal-body">
|
|
18
|
+
|
|
19
|
+
<!-- _include/breadcrumbs.html -->
|
|
20
|
+
{% include breadcrumbs.html %}
|
|
21
|
+
{% include searchbar.html %}
|
|
22
|
+
{% include dev-shortcuts.html %}
|
|
23
|
+
<!-- Dark Mode Switch -->
|
|
24
|
+
{% include halfmoon.html %}
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
<div class="modal-footer">
|
|
28
|
+
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
|
29
|
+
<button type="button" class="btn btn-primary">Understood</button>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
@@ -0,0 +1,27 @@
|
|
|
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('{{ page.preview | relative_url | default: site.info_banner }}') no-repeat center center / cover;
|
|
16
|
+
color: #fff;">
|
|
17
|
+
<br>
|
|
18
|
+
<h1>{{ page.title }}</h1>
|
|
19
|
+
<p>By {{ page.author | default: site.author.name }}</p>
|
|
20
|
+
<p>{{ page.excerpt }}</p>
|
|
21
|
+
<p>Estimated reading time: {{ content | number_of_words | divided_by:200 }} minutes</p>
|
|
22
|
+
<!-- Edit on Github Button -->
|
|
23
|
+
<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">
|
|
24
|
+
<i class="bi bi-github"></i>
|
|
25
|
+
<span class="d-none d-sm-inline">Edit on Github</span>
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Javascript CDN
|
|
3
|
+
sources:
|
|
4
|
+
- Bootstrap 4.0.0
|
|
5
|
+
- jQuery 3.2.1
|
|
6
|
+
- Popper.js 1.12.9
|
|
7
|
+
sources: https://getbootstrap.com/docs/5.3/getting-started/contents/#css-files
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
<!-- Jquery -->
|
|
11
|
+
<!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> -->
|
|
12
|
+
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<!-- bootstrap js -->
|
|
16
|
+
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> -->
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
|
18
|
+
|
|
19
|
+
<!-- Popper -->
|
|
20
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
21
|
+
<!-- <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script> -->
|
|
22
|
+
|
|
23
|
+
<!-- TODO: Install local bootstrap -->
|
|
24
|
+
<!-- <script src="/assets/js/bootstrap.js"></script> -->
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
file: nav_list.html
|
|
3
|
+
path: /_includes/nav_list.html
|
|
4
|
+
includes:
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
<!-- Navigation List -->
|
|
8
|
+
|
|
9
|
+
{% assign navigation = site.data.navigation[include.nav] %}
|
|
10
|
+
|
|
11
|
+
<!-- Navigation Title -->
|
|
12
|
+
{% for nav in navigation %}
|
|
13
|
+
{% if nav.nav-title %}
|
|
14
|
+
<h3 class="nav__title" style="padding-left: 0;">{{ nav.nav-title }}</h3>
|
|
15
|
+
{% endif %}
|
|
16
|
+
{% endfor %}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<ul class="list-unstyled fw-normal pb-2 small">
|
|
21
|
+
<!-- Accordion Nav List -->
|
|
22
|
+
{% for nav in navigation %}
|
|
23
|
+
<!-- Nav Title Only Link -->
|
|
24
|
+
{% if nav.sublinks == null and nav.title%}
|
|
25
|
+
<li class="mb-1">
|
|
26
|
+
<a href="{{ nav.url | relative_url }}" class="active d-inline-flex align-items-center rounded">
|
|
27
|
+
<span class="">{{ nav.title }}</span>
|
|
28
|
+
</a>
|
|
29
|
+
</li>
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% if nav.sublinks %}
|
|
33
|
+
<li class="mb-1">
|
|
34
|
+
<strong class="d-flex w-100 align-items-center fw-semibold collapsed"
|
|
35
|
+
data-bs-toggle="collapse"
|
|
36
|
+
data-bs-target="#{{ nav.title }}-collapse"
|
|
37
|
+
aria-expanded="true"
|
|
38
|
+
aria-current="true">
|
|
39
|
+
{{ nav.title }}
|
|
40
|
+
</strong>
|
|
41
|
+
<!-- <button class="btn d-inline-flex align-items-center rounded collapsed"
|
|
42
|
+
data-bs-toggle="collapse"
|
|
43
|
+
data-bs-target="#{{ nav.title }}-collapse"
|
|
44
|
+
aria-expanded="true"
|
|
45
|
+
aria-current="true">
|
|
46
|
+
{{ nav.title }}
|
|
47
|
+
</button> -->
|
|
48
|
+
<div class="collapse show" id="{{ nav.title }}-collapse" style="">
|
|
49
|
+
<ul class="list-unstyled fw-normal pb-1 small">
|
|
50
|
+
{% for child in nav.sublinks %}
|
|
51
|
+
<li>
|
|
52
|
+
<a href="{{ child.url | relative_url }}"
|
|
53
|
+
{% if child.url == page.url %} class="active d-inline-flex align-items-center rounded"{% endif %}
|
|
54
|
+
>{{ child.title }}
|
|
55
|
+
</a>
|
|
56
|
+
</li>
|
|
57
|
+
{% endfor %}
|
|
58
|
+
</ul>
|
|
59
|
+
</div>
|
|
60
|
+
{% endif %}
|
|
61
|
+
</li>
|
|
62
|
+
{% endfor %}
|
|
63
|
+
</ul>
|
|
@@ -0,0 +1,34 @@
|
|
|
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>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
file: powered-by.html
|
|
3
|
+
path:_includes/powered-by.html
|
|
4
|
+
description: This file is used to display the powered by section on the home page.
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
<div class="row row-cols-1 row-cols-md-3 g-4">
|
|
8
|
+
{% for power in site.powered_by %}
|
|
9
|
+
<div class="col">
|
|
10
|
+
<div class="card h-100">
|
|
11
|
+
<div class="card-body d-flex align-items-start">
|
|
12
|
+
<div>
|
|
13
|
+
<h5 class="card-title">{{ power.name }}</h5>
|
|
14
|
+
<p class="card-text">Version: {{ power.version }}</p>
|
|
15
|
+
<a href="{{ power.url }}" class="btn btn-primary" rel="nofollow">Go to site</a>
|
|
16
|
+
</div>
|
|
17
|
+
<i class="{{ power.icon }} fs-1 ms-auto"></i>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
{% endfor %}
|
|
22
|
+
</div>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Quick index of pages in the collection -->
|
|
2
|
+
{% if site.collections.pages %}
|
|
3
|
+
<ul>
|
|
4
|
+
<p>Quick Index</p>
|
|
5
|
+
{% for note in site.collections.pages %}
|
|
6
|
+
{% if note.collection == page.collection %}
|
|
7
|
+
<li class="active mb-1 list-unstyled"><a href="{{ note.url | relative_url }}">{{ note.title }}</a></li>
|
|
8
|
+
{% endif %}
|
|
9
|
+
{% endfor %}
|
|
10
|
+
</ul>
|
|
11
|
+
{% endif %}
|
|
12
|
+
|
|
13
|
+
<!-- Post Categories -->
|
|
14
|
+
{% if page.sidebar == "searchCats" %}
|
|
15
|
+
<div id="categories">
|
|
16
|
+
</div>
|
|
17
|
+
{% endif %}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
<!--
|
|
3
|
+
title: Algolia Searchbar and hits
|
|
4
|
+
source: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
|
|
5
|
+
|
|
6
|
+
-->
|
|
7
|
+
<div class="container order-1">
|
|
8
|
+
<div id="searchbox" class="" ></div>
|
|
9
|
+
<div id="hits" class="text-start"></div>
|
|
10
|
+
</div>
|