jekyll-theme-lydde 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.txt +21 -0
- data/README.md +79 -0
- data/_includes/breadcrumb.liquid +20 -0
- data/_includes/footer.liquid +60 -0
- data/_includes/header.liquid +124 -0
- data/_includes/info.liquid +15 -0
- data/_includes/menu.liquid +26 -0
- data/_includes/post-author.liquid +59 -0
- data/_includes/post-categories.liquid +13 -0
- data/_includes/post-share.liquid +26 -0
- data/_includes/post-tags.liquid +16 -0
- data/_includes/post-toc.liquid +86 -0
- data/_includes/scripts.liquid +15 -0
- data/_layouts/default.html +33 -0
- data/_layouts/home.html +6 -0
- data/_layouts/page.html +10 -0
- data/_layouts/post.html +33 -0
- data/_sass/bootstrap/_accordion.scss +158 -0
- data/_sass/bootstrap/_alert.scss +68 -0
- data/_sass/bootstrap/_badge.scss +38 -0
- data/_sass/bootstrap/_breadcrumb.scss +40 -0
- data/_sass/bootstrap/_button-group.scss +142 -0
- data/_sass/bootstrap/_buttons.scss +207 -0
- data/_sass/bootstrap/_card.scss +239 -0
- data/_sass/bootstrap/_carousel.scss +244 -0
- data/_sass/bootstrap/_close.scss +63 -0
- data/_sass/bootstrap/_containers.scss +41 -0
- data/_sass/bootstrap/_dropdown.scss +250 -0
- data/_sass/bootstrap/_forms.scss +9 -0
- data/_sass/bootstrap/_functions.scss +302 -0
- data/_sass/bootstrap/_grid.scss +39 -0
- data/_sass/bootstrap/_helpers.scss +12 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_list-group.scss +197 -0
- data/_sass/bootstrap/_maps.scss +174 -0
- data/_sass/bootstrap/_mixins.scss +42 -0
- data/_sass/bootstrap/_modal.scss +237 -0
- data/_sass/bootstrap/_nav.scss +209 -0
- data/_sass/bootstrap/_navbar.scss +289 -0
- data/_sass/bootstrap/_offcanvas.scss +146 -0
- data/_sass/bootstrap/_pagination.scss +109 -0
- data/_sass/bootstrap/_placeholders.scss +51 -0
- data/_sass/bootstrap/_popover.scss +196 -0
- data/_sass/bootstrap/_progress.scss +68 -0
- data/_sass/bootstrap/_reboot.scss +610 -0
- data/_sass/bootstrap/_root.scss +184 -0
- data/_sass/bootstrap/_spinners.scss +85 -0
- data/_sass/bootstrap/_tables.scss +171 -0
- data/_sass/bootstrap/_toasts.scss +73 -0
- data/_sass/bootstrap/_tooltip.scss +119 -0
- data/_sass/bootstrap/_transitions.scss +27 -0
- data/_sass/bootstrap/_type.scss +106 -0
- data/_sass/bootstrap/_utilities.scss +806 -0
- data/_sass/bootstrap/_variables-dark.scss +85 -0
- data/_sass/bootstrap/_variables.scss +1743 -0
- data/_sass/bootstrap/bootstrap-grid.scss +62 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +10 -0
- data/_sass/bootstrap/bootstrap-utilities.scss +19 -0
- data/_sass/bootstrap/bootstrap.scss +52 -0
- data/_sass/bootstrap/forms/_floating-labels.scss +94 -0
- data/_sass/bootstrap/forms/_form-check.scss +188 -0
- data/_sass/bootstrap/forms/_form-control.scss +214 -0
- data/_sass/bootstrap/forms/_form-range.scss +91 -0
- data/_sass/bootstrap/forms/_form-select.scss +80 -0
- data/_sass/bootstrap/forms/_form-text.scss +11 -0
- data/_sass/bootstrap/forms/_input-group.scss +132 -0
- data/_sass/bootstrap/forms/_labels.scss +36 -0
- data/_sass/bootstrap/forms/_validation.scss +12 -0
- data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap/helpers/_color-bg.scss +8 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +30 -0
- data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
- data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
- data/_sass/bootstrap/helpers/_position.scss +36 -0
- data/_sass/bootstrap/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap/helpers/_stacks.scss +15 -0
- data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap/helpers/_vr.scss +8 -0
- data/_sass/bootstrap/mixins/_alert.scss +18 -0
- data/_sass/bootstrap/mixins/_backdrop.scss +14 -0
- data/_sass/bootstrap/mixins/_banner.scss +7 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +78 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap/mixins/_buttons.scss +70 -0
- data/_sass/bootstrap/mixins/_caret.scss +69 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
- data/_sass/bootstrap/mixins/_color-scheme.scss +7 -0
- data/_sass/bootstrap/mixins/_container.scss +11 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_forms.scss +153 -0
- data/_sass/bootstrap/mixins/_gradients.scss +47 -0
- data/_sass/bootstrap/mixins/_grid.scss +151 -0
- data/_sass/bootstrap/mixins/_image.scss +16 -0
- data/_sass/bootstrap/mixins/_list-group.scss +26 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_pagination.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_table-variants.scss +24 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_utilities.scss +97 -0
- data/_sass/bootstrap/mixins/_visually-hidden.scss +33 -0
- data/_sass/bootstrap/tests/jasmine.js +16 -0
- data/_sass/bootstrap/tests/mixins/_color-modes.test.scss +69 -0
- data/_sass/bootstrap/tests/mixins/_media-query-color-mode-full.test.scss +8 -0
- data/_sass/bootstrap/tests/mixins/_utilities.test.scss +393 -0
- data/_sass/bootstrap/tests/sass-true/register.js +14 -0
- data/_sass/bootstrap/tests/sass-true/runner.js +17 -0
- data/_sass/bootstrap/tests/utilities/_api.test.scss +75 -0
- data/_sass/bootstrap/utilities/_api.scss +47 -0
- data/_sass/bootstrap/vendor/_rfs.scss +348 -0
- data/_sass/code.scss +80 -0
- data/_sass/html.scss +26 -0
- data/_sass/variables.scss +29 -0
- data/_sass/website.scss +31 -0
- data/assets/images/_default.jpeg +0 -0
- data/assets/images/categories.jpeg +0 -0
- data/assets/images/home.jpeg +0 -0
- data/assets/images/koubyak.jpeg +0 -0
- data/assets/images/news.jpeg +0 -0
- data/assets/images/page.jpeg +0 -0
- data/assets/images/pages.jpeg +0 -0
- data/assets/images/post.jpeg +0 -0
- data/assets/images/posts.jpeg +0 -0
- data/assets/images/tags.jpeg +0 -0
- data/assets/logo.png +0 -0
- data/assets/lydde.png +0 -0
- data/assets/resources/site/404.md +11 -0
- data/assets/resources/site/humans.txt +31 -0
- data/assets/resources/site/robots.txt +7 -0
- data/assets/resources/site/site.webmanifest +36 -0
- data/assets/resources/site/sitemap.md +36 -0
- data/assets/resources/site/sitemap.xml +52 -0
- data/assets/scripts/bootstrap/bootstrap.bundle.js +6306 -0
- data/assets/scripts/bootstrap/bootstrap.bundle.js.map +1 -0
- data/assets/scripts/bootstrap/bootstrap.bundle.min.js +7 -0
- data/assets/scripts/bootstrap/bootstrap.bundle.min.js.map +1 -0
- data/assets/scripts/bootstrap/bootstrap.esm.js +4439 -0
- data/assets/scripts/bootstrap/bootstrap.esm.js.map +1 -0
- data/assets/scripts/bootstrap/bootstrap.esm.min.js +7 -0
- data/assets/scripts/bootstrap/bootstrap.esm.min.js.map +1 -0
- data/assets/scripts/bootstrap/bootstrap.js +4486 -0
- data/assets/scripts/bootstrap/bootstrap.js.map +1 -0
- data/assets/scripts/bootstrap/bootstrap.min.js +7 -0
- data/assets/scripts/bootstrap/bootstrap.min.js.map +1 -0
- data/assets/scripts/main.js +7 -0
- data/assets/styles/main.scss +23 -0
- metadata +209 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b5acb4489dace934aa621833ce0dcb418f94b41acd90ea52a373264ce8f84fe4
|
4
|
+
data.tar.gz: 76395e9ca1649bf7662648abbf57c6c4752a34943e184e85c3ff45352ab76892
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ad05588d31ddfd810bc2654a0bfaeb41454044eb12917245c1ba6ba74b6a3a27fecd7c91aff59660a61cab1dbe6068fd35716009cca03a533e95efd23a691d99
|
7
|
+
data.tar.gz: 8c330c085ed38bd44b7d57b964f810604697bcc6d73ee592980b3c4f5d61a24439c80943c956f3bf9c2244025a8b262ff7735f2954f1f3222ad5dcb6ced56968
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2023 MrKoubyak
|
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,79 @@
|
|
1
|
+
# Lydde Group - Boostrap 5.3 Theme for Jekyll
|
2
|
+
|
3
|
+
Theme for all Lydde Group GitHub Sites based on Jekyll & Bootstrap 5.3.0
|
4
|
+
|
5
|
+
We start creating this approach for sustainability.
|
6
|
+
|
7
|
+
Jekyll is a simple and powerful tool that lets us build beautiful websites without any coding.
|
8
|
+
We use GitHub Pages to host your Jekyll site for free and update it with just a few clicks.
|
9
|
+
By using Jekyll and GitHub, you are reducing your environmental impact and saving money.
|
10
|
+
|
11
|
+
What are you waiting for? As we do, Start your Jekyll journey today!
|
12
|
+
|
13
|
+
## Installation
|
14
|
+
|
15
|
+
Add this line to your Jekyll site's `Gemfile`:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
gem "jekyll-bootstrap-theme"
|
19
|
+
```
|
20
|
+
|
21
|
+
Add this line to your site's `_config.yml`:
|
22
|
+
|
23
|
+
```
|
24
|
+
# Jekyl Theme
|
25
|
+
remote_theme: YAKAGameStudio/Symphony
|
26
|
+
```
|
27
|
+
And then execute:
|
28
|
+
|
29
|
+
$ bundle
|
30
|
+
|
31
|
+
Or install it yourself as:
|
32
|
+
|
33
|
+
$ gem install jekyll-boostrap-theme
|
34
|
+
|
35
|
+
## Content
|
36
|
+
Lydde Group Jekyll Theme has been scaffolded with all the necessary files and directories to have a new Jekyll site up and running with zero-configuration.
|
37
|
+
|
38
|
+
## Layouts
|
39
|
+
Refers to files within the `_layouts` directory, that define the markup for your theme.
|
40
|
+
|
41
|
+
- `default.html` : The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says ` {{ content }} ` and are linked to this file via [FrontMatter](https://jekyllrb.com/docs/frontmatter/) declaration `layout: default`.
|
42
|
+
- `home.html` : The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
|
43
|
+
- `page.html` : The layout for your documents that contain FrontMatter, but are not posts.
|
44
|
+
- `post.html` : The layout for your posts.
|
45
|
+
- `category.html` : The layout for pages used as categories
|
46
|
+
|
47
|
+
### Home Layout
|
48
|
+
|
49
|
+
`home.html` is a flexible HTML layout for the site's landing-page / home-page / index-page.
|
50
|
+
|
51
|
+
## Usage
|
52
|
+
|
53
|
+
|
54
|
+
## Plugin
|
55
|
+
- jekyll-feed #https://github.com/jekyll/jekyll-feed
|
56
|
+
- jekyll-archives #https://github.com/jekyll/jekyll-archives
|
57
|
+
- jekyll-sitemap #https://github.com/jekyll/jekyll-sitemap
|
58
|
+
- jekyll-avatar #https://github.com/jekyll/jekyll-avatar
|
59
|
+
- jekyll-seo-tag #https://github.com/jekyll/jekyll-seo-tag
|
60
|
+
- jekyll-mentions #https://github.com/jekyll/jekyll-mentions
|
61
|
+
- jekyll-redirect-from #https://github.com/jekyll/jekyll-redirect-from
|
62
|
+
#https://github.com/jekyll/github-metadata
|
63
|
+
|
64
|
+
# Contributing
|
65
|
+
|
66
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/lydde/jekyll-theme. 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.
|
67
|
+
|
68
|
+
## Development
|
69
|
+
|
70
|
+
To set up your environment to develop this theme, run `bundle install`.
|
71
|
+
|
72
|
+
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.
|
73
|
+
|
74
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
75
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme.gemspec` accordingly.
|
76
|
+
|
77
|
+
## License
|
78
|
+
|
79
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!-- Breadcrumb -->
|
2
|
+
<nav
|
3
|
+
id="breadcrumb"
|
4
|
+
aria-label="breadcrumb">
|
5
|
+
<ol class="breadcrumb">
|
6
|
+
{% assign crumbs = page.url | remove: '/index.html' | split: '/' %}
|
7
|
+
<li class="breadcrumb-item">
|
8
|
+
<a href="/">Home</a>
|
9
|
+
</li>
|
10
|
+
{% for crumb in crumbs offset: 1 %}
|
11
|
+
{% if forloop.last %}
|
12
|
+
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
|
13
|
+
{% else %}
|
14
|
+
<li class="breadcrumb-item">
|
15
|
+
<a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace: '-', ' ' | remove: '.html' | capitalize }}</a>
|
16
|
+
</li>
|
17
|
+
{% endif %}
|
18
|
+
{% endfor %}
|
19
|
+
</ol>
|
20
|
+
</nav>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
{%- assign company = authors.default.name | default: site.title | escape -%}
|
2
|
+
{%- assign menus = site.settings.menus.footer | default: site.data.settings.menus.footer -%}
|
3
|
+
{%- assign social = site.settings.social| default: site.data.settings.social -%}
|
4
|
+
|
5
|
+
{%- if page.footer != false -%}
|
6
|
+
<footer id="footer" class="border-top text-muted">
|
7
|
+
<div class="container">
|
8
|
+
<!-- Footer Top -->
|
9
|
+
<div id="footer-top"></div>
|
10
|
+
|
11
|
+
<!-- Footer Main-->
|
12
|
+
{% if social or menus %}
|
13
|
+
<div id="footer-main" class="row pt-3 border-bottom">
|
14
|
+
{% if social %}
|
15
|
+
<!-- Social Media -->
|
16
|
+
<div id="social" class="col-sm-12 col-lg-6">
|
17
|
+
<h2 class="h5">Let's Connect</h2>
|
18
|
+
<p>Follow us on your favorite platform</p>
|
19
|
+
<div>
|
20
|
+
{% include social.html class="nav pb-3" %}
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
{% endif %}
|
24
|
+
{% if menus %}
|
25
|
+
<!-- Links -->
|
26
|
+
{%- for menu in menus -%}
|
27
|
+
<div id="{{ menu.title | slugify }}" class="col-lg-3 col-sm-6">
|
28
|
+
<h2 class="h5">{{ menu.title }}</h2>
|
29
|
+
<div>
|
30
|
+
<ul class="nav flex-column pb-3">
|
31
|
+
{% for item in menu.links %}
|
32
|
+
<li class="nav-item mb-2">
|
33
|
+
<a class="nav-link p-0 text-muted" href="{{ item.link | absolute_url }}" title="{{ menu.title }}: {{ item.title }}">{{ item.title }}</a>
|
34
|
+
</li>
|
35
|
+
{% endfor %}
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
{%- endfor -%}
|
40
|
+
{%- endif -%}
|
41
|
+
</div>
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
<!-- Footer Bottom: Website information -->
|
45
|
+
<div id="footer-bottom">
|
46
|
+
<div class="row py-3">
|
47
|
+
<div id="copyright" class="col-sm-6">
|
48
|
+
<p>© Copyright {{ "now" | date: "%Y" }}{%- if company -%} - {{ company }}{%- endif -%}</p>
|
49
|
+
</div>
|
50
|
+
<div id="disclaimer" class="col-sm-6 text-center text-lg-end">
|
51
|
+
<a href="https://lydde.com">
|
52
|
+
<img src="{{ '/assets/lydde.png' | absolute_url }}"
|
53
|
+
alt="{%- if company -%}{{ company }} is {%- endif -%}a subsidiary of LYDDE Group">
|
54
|
+
</a>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</footer>
|
60
|
+
{%- endif -%}
|
@@ -0,0 +1,124 @@
|
|
1
|
+
{%- assign company = authors.default.name | site.title | default: 'Theme' | escape -%}
|
2
|
+
{%- assign menus = site.settings.menus.header | default: site.data.settings.menus.header -%}
|
3
|
+
{%- assign social = site.settings.social | default: site.data.settings.social -%}
|
4
|
+
|
5
|
+
{%- assign logo = site.logo | default: "/assets/logo.png" -%}
|
6
|
+
{%- for files in site.static_files -%}
|
7
|
+
{%- if files.path == logo -%}
|
8
|
+
{%- assign logoExist = true -%}
|
9
|
+
{%- break -%}
|
10
|
+
{%- endif -%}
|
11
|
+
{%- endfor -%}
|
12
|
+
|
13
|
+
{%- if page.header != false -%}
|
14
|
+
<header id="header">
|
15
|
+
<div class="container">
|
16
|
+
|
17
|
+
<!-- Header Top: Social Network -->
|
18
|
+
{%- if social -%}
|
19
|
+
<div id="header-top">
|
20
|
+
<div class="d-lg-none spacer"> </div>
|
21
|
+
<div class="d-none d-lg-block">
|
22
|
+
<!-- Social Network -->
|
23
|
+
{% include social.html class="nav justify-content-end" %}
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
{%- endif -%}
|
27
|
+
|
28
|
+
<!-- Header Main: Site Menu -->
|
29
|
+
<nav id="header-main" class="navbar navbar-expand-lg">
|
30
|
+
<div class="container-fluid">
|
31
|
+
{%- if logoExist -%}
|
32
|
+
<!-- Logo -->
|
33
|
+
<div id="logo" class="navbar-brand">
|
34
|
+
<a id="brand" href="{{ '/'' | absolute_url }}" title="{{ company }}" rel="author">
|
35
|
+
<img src="{{ logo | absolute_url }}" alt="{{ company }}">
|
36
|
+
</a>
|
37
|
+
</div>
|
38
|
+
{%- else -%}
|
39
|
+
<!-- Brand -->
|
40
|
+
<a id="brand" href="{{ '/' | absolute_url }}" title="{{ company }}" rel="author" class="navbar-brand">{{ company }}</a>
|
41
|
+
{%- endif -%}
|
42
|
+
|
43
|
+
<!-- Responsive Toggle Button -->
|
44
|
+
<button
|
45
|
+
class="navbar-toggler"
|
46
|
+
type="button"
|
47
|
+
data-bs-toggle="collapse"
|
48
|
+
data-bs-target="#navbarContent"
|
49
|
+
aria-controls="navbarContent"
|
50
|
+
aria-expanded="false"
|
51
|
+
aria-label="Toggle navigation menu">
|
52
|
+
<span class="navbar-toggler-icon"></span>
|
53
|
+
</button>
|
54
|
+
|
55
|
+
<!-- Navigation -->
|
56
|
+
<div id="navbarContent" class="collapse navbar-collapse p-2 pt-5 p-lg-0">
|
57
|
+
{%- if menus -%}
|
58
|
+
{% for menu in menus %}
|
59
|
+
<!-- Site -->
|
60
|
+
<div id="{{ menu.title | slugify }}" {% if menu.position == 'left' %}class="me-auto"{% endif %}>
|
61
|
+
<ul class="navbar-nav nav-pills">
|
62
|
+
{% for item in menu.links %}
|
63
|
+
<li class="nav-item">
|
64
|
+
<a class="nav-link px-3{%- if page.url == item.link -%} active{%- endif -%}"
|
65
|
+
{%- if page.url == item.link -%}aria-current="page"{%- endif -%}
|
66
|
+
href="{{ item.link | absolute_url }}"
|
67
|
+
title="{{ item.title }}">
|
68
|
+
{%- if item.icon -%}<i class="{{ item.icon }}"></i>{%- endif -%}{{ item.title | escape }}
|
69
|
+
</a>
|
70
|
+
</li>
|
71
|
+
{% endfor %}
|
72
|
+
</ul>
|
73
|
+
</div>
|
74
|
+
<hr />
|
75
|
+
{% endfor %}
|
76
|
+
{%- else -%}
|
77
|
+
<!-- Default Navigation -->
|
78
|
+
<ul class="navbar-nav col-lg-6 justify-content-lg-center">
|
79
|
+
{%- assign paths = site.pages | map: "path" -%}
|
80
|
+
{%- for path in paths -%}
|
81
|
+
{%- assign item = site.pages | where: "path", path | first -%}
|
82
|
+
{%- if item.title and item.path contains "resources/pages" -%}
|
83
|
+
{%- assign resources = true -%}
|
84
|
+
{%- break -%}
|
85
|
+
{%- endif -%}
|
86
|
+
{%- endfor -%}
|
87
|
+
|
88
|
+
{%- for path in paths -%}
|
89
|
+
{%- assign item = site.pages | where: "path", path | first -%}
|
90
|
+
{%- if resources == true -%}
|
91
|
+
{%- if item.title and item.path contains "resources/pages" -%}
|
92
|
+
<li>
|
93
|
+
<a class="nav-link" href="{{ item.url | absolute_url }}" title="{{ item.title }}">{{item.title}}</a>
|
94
|
+
</li>
|
95
|
+
{%- endif -%}
|
96
|
+
{%- else -%}
|
97
|
+
{%- unless item.path contains "resources" -%}
|
98
|
+
{%- if item.title and item.layout == "page" -%}
|
99
|
+
<li>
|
100
|
+
<a class="nav-link" href="{{ item.url | absolute_url }}" title="{{ item.title }}">{{item.title}}</a>
|
101
|
+
</li>
|
102
|
+
{%- endif -%}
|
103
|
+
{%- endunless -%}
|
104
|
+
{%- endif -%}
|
105
|
+
{%- endfor -%}
|
106
|
+
</ul>
|
107
|
+
{%- endif -%}
|
108
|
+
{%- if social -%}
|
109
|
+
<hr />
|
110
|
+
<!-- Social Network -->
|
111
|
+
<div class="d-lg-none border-top">
|
112
|
+
<h4>Follow us</h4>
|
113
|
+
{% include social.html class="nav justify-content-center" %}
|
114
|
+
</div>
|
115
|
+
{%- endif -%}
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
</nav>
|
119
|
+
|
120
|
+
<!-- Header Bottom -->
|
121
|
+
<div id="header-bottom"></div>
|
122
|
+
</div>
|
123
|
+
</header>
|
124
|
+
{%- endif -%}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{% assign date = item.date | default: "now" | date_to_string %}
|
2
|
+
{% assign duration = item.content | number_of_words | divided_by: 180 %}
|
3
|
+
{% unless duration != 0 %}
|
4
|
+
{% assign duration = 1 %}
|
5
|
+
{% endunless %}
|
6
|
+
|
7
|
+
<ul class="nav">
|
8
|
+
<li class="nav-item mx-1 badge bg-secondary py-2">
|
9
|
+
<i class="far fa-clock"></i>
|
10
|
+
{{ duration }} min read
|
11
|
+
</li>
|
12
|
+
<li class="nav-item mx-1 badge bg-secondary py-2">
|
13
|
+
<i class="far fa-calendar"></i> <time datetime="{{ date }}">{{ date }}</time>
|
14
|
+
</li>
|
15
|
+
</ul>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{% assign pages = site.pages | where_exp: 'doc', 'doc.url != "/404.html"' | where_exp: 'doc', 'doc.title' %}
|
2
|
+
{% assign i = 1 %}
|
3
|
+
|
4
|
+
<ul>
|
5
|
+
{%- for page in pages -%}
|
6
|
+
|
7
|
+
{% assign crumbs = page.url | remove: '/index.html' | split: '/' %}
|
8
|
+
{% assign size = crumbs | size | minus: 1 %}
|
9
|
+
|
10
|
+
{% assign orderedPages = crumbs[i] | group %}
|
11
|
+
{{ crumbs[i] }}
|
12
|
+
|
13
|
+
|
14
|
+
{% capture myLoop %}
|
15
|
+
<li>{{ page.title }} - {{ size }} - {{ page.url }}</li>
|
16
|
+
{% endcapture %}
|
17
|
+
|
18
|
+
|
19
|
+
{% for crumb in crumbs %}
|
20
|
+
{% unless crumb == "" %}
|
21
|
+
{{ myLoop }}
|
22
|
+
{% endunless %}
|
23
|
+
{% endfor %}
|
24
|
+
|
25
|
+
{%- endfor -%}
|
26
|
+
</ul>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
{% assign authors = page.author %}
|
2
|
+
{% assign directory = site.authors | default: site.data.authors %}
|
3
|
+
{% if directory %}
|
4
|
+
{%- if authors.size > 0 -%}
|
5
|
+
{%- if include.format == "list" -%}
|
6
|
+
<ul class="{{ include.class }}">
|
7
|
+
{%- for author in authors -%}
|
8
|
+
<li class="nav-item mx-1 badge bg-secondary py-2">
|
9
|
+
by
|
10
|
+
<a href="{{ directory[author].url | default: "#author" }}" class="text-reset btn-link">{{ directory[author].name | default: authors }}</a>
|
11
|
+
</li>
|
12
|
+
{%- endfor -%}
|
13
|
+
</ul>
|
14
|
+
{%- else -%}
|
15
|
+
{%- for people in authors limit: 1 -%}
|
16
|
+
{% assign author = directory[people] %}
|
17
|
+
<div id="author" class="d-flex p-2 p-md-4 my-3 bg-dark bg-opacity-25 rounded">
|
18
|
+
<!-- Avatar -->
|
19
|
+
<div class="me-2 me-md-4">
|
20
|
+
<img
|
21
|
+
class="rounded-circle"
|
22
|
+
src="{{ author.picture | default: site.logo | absolute_url }}"
|
23
|
+
alt="{{ author.name | append: ' avatar' }}"
|
24
|
+
width="100">
|
25
|
+
</div>
|
26
|
+
<!-- Information -->
|
27
|
+
<div class="flex-fill">
|
28
|
+
<div class="d-sm-flex align-items-center justify-content-between">
|
29
|
+
<div>
|
30
|
+
<h4 class="m-0">{{ author.name }}</h4>
|
31
|
+
<small>{{ author.position }}</small>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
<p class="my-2">{{ author.content | default: author.description }}</p>
|
35
|
+
<!-- Social icons -->
|
36
|
+
{% assign social = author.social %}
|
37
|
+
{%- if social -%}
|
38
|
+
<ul class="nav">
|
39
|
+
{%- for item in social -%}
|
40
|
+
{%- assign key = item | first -%}
|
41
|
+
{% if social[key].link %}
|
42
|
+
<li class="nav-item">
|
43
|
+
<a
|
44
|
+
class="nav-link ps-0 pe-2 fs-5"
|
45
|
+
href="{{ social[key].link }}"
|
46
|
+
title="Follow us on {{ social[key].title | default: key | capitalize }}">
|
47
|
+
<i class="fab fa-{{ key | downcase }}"></i>
|
48
|
+
</a>
|
49
|
+
</li>
|
50
|
+
{% endif %}
|
51
|
+
{%- endfor -%}
|
52
|
+
</ul>
|
53
|
+
{%- endif -%}
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
{%- endfor -%}
|
57
|
+
{%- endif -%}
|
58
|
+
{%- endif -%}
|
59
|
+
{% endif %}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{%- assign categories = page.categories -%}
|
2
|
+
{%- if categories.size > 0 -%}
|
3
|
+
<div id="categories">
|
4
|
+
<h5>Categories</h5>
|
5
|
+
<ul class="d-grid p-0 pt-3">
|
6
|
+
{%- for category in categories -%}
|
7
|
+
<li class="btn btn-primary mb-1 text-start h5">
|
8
|
+
{{ category }}
|
9
|
+
</li>
|
10
|
+
{%- endfor -%}
|
11
|
+
</ul>
|
12
|
+
</div>
|
13
|
+
{%- endif -%}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{%- assign share = page.share | default: site.share -%}
|
2
|
+
{%- assign social = site.settings.share | default: site.data.settings.share -%}
|
3
|
+
|
4
|
+
{%- if social.size > 0 and share != false -%}
|
5
|
+
<div id="share" class="border-top py-3 my-3">
|
6
|
+
<p class="h6 text-center">Share (for immortality)</p>
|
7
|
+
<div>
|
8
|
+
<ul class="nav justify-content-center">
|
9
|
+
{% for item in social %}
|
10
|
+
{%- assign key = item | first -%}
|
11
|
+
{%- assign value = item | last -%}
|
12
|
+
<li class="nav-item border-bottom border-5 border-primary mx-1">
|
13
|
+
<a
|
14
|
+
class="nav-link link-primary"
|
15
|
+
href="{{ value }}{{ page.url | absolute_url }}"
|
16
|
+
aria-label="{{ key }}"
|
17
|
+
rel="noopener"
|
18
|
+
title="Share {{ page.title }} on {{ key | capitalize }}">
|
19
|
+
<i class="fab fa-{{ key | downcase }}"></i>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
{%- endif -%}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{%- assign tags = page.tags -%}
|
2
|
+
{%- if tags.size > 0 -%}
|
3
|
+
<div id="tags">
|
4
|
+
<h5>Tags</h5>
|
5
|
+
<ul class="nav py-3">
|
6
|
+
{%- for tag in tags -%}
|
7
|
+
<li class="nav-item mx-1">
|
8
|
+
<a
|
9
|
+
href="{{ tag | slugify | prepend: "/tags#" | absolute_url }}"
|
10
|
+
title="{{ tag }}"
|
11
|
+
class="btn btn-outline-primary btn-sm mb-1">{{ tag | prepend: '#' }}</a>
|
12
|
+
</li>
|
13
|
+
{%- endfor -%}
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
{%- endif -%}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
{% capture workplace %}
|
2
|
+
{% assign title = include.title | default: 'ToC' %}
|
3
|
+
{% assign minLevel = include.min | default: 1 %}
|
4
|
+
{% assign maxLevel = include.max | default: 6 %}
|
5
|
+
|
6
|
+
{% assign listNav = 'nav' %}
|
7
|
+
|
8
|
+
{% assign levelNavClass = "nav nav-pills flex-column" %}
|
9
|
+
|
10
|
+
|
11
|
+
{% capture toc %}{% endcapture %}
|
12
|
+
|
13
|
+
{% assign currentLevel = 0 %}
|
14
|
+
|
15
|
+
{% assign nodes = include.html | strip | split: '<h' %}
|
16
|
+
{% assign nodesCount = nodes.count %}
|
17
|
+
|
18
|
+
{% for node in nodes %}
|
19
|
+
{% unless node != empty %}
|
20
|
+
{% continue %}
|
21
|
+
{% endunless %}
|
22
|
+
|
23
|
+
{% assign currentLevel = node | slice: 0, 1 | times: 1 %}
|
24
|
+
|
25
|
+
{% if currentLevel < minLevel or currentLevel > maxLevel %}
|
26
|
+
{% continue %}
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
{% assign _workspace = node | split: '</h' %}
|
30
|
+
|
31
|
+
{% assign tocId = _workspace[0] | split: 'id="' %}
|
32
|
+
{% assign tocId = tocId[1] | split: '"' %}
|
33
|
+
{% assign tocId = tocId[0] %}
|
34
|
+
|
35
|
+
{% assign tocTitle = _workspace[0] | split: '>' %}
|
36
|
+
{% assign tocTitle = tocTitle[1] %}
|
37
|
+
|
38
|
+
{% capture tocLink %}
|
39
|
+
<a class="nav-link" href="{{ tocId | prepend: '#' }}" >{{ tocTitle }}</a>
|
40
|
+
{% endcapture %}
|
41
|
+
|
42
|
+
{% if firstLevel >= currentLevel or firstLevel == nil %}
|
43
|
+
{% assign firstLevel = currentLevel %}
|
44
|
+
{% endif %}
|
45
|
+
|
46
|
+
{% if lastLevel <= currentLevel or lastLevel == nil %}
|
47
|
+
{% assign lastLevel = currentLevel %}
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
{% capture toc %}
|
53
|
+
{{ toc }}
|
54
|
+
|
55
|
+
{% if currentLevel > previousLevel %}
|
56
|
+
<nav class="nav nav-pills flex-column ms-{{ currentLevel }}">
|
57
|
+
{% endif %}
|
58
|
+
{% if currentLevel < previousLevel %}
|
59
|
+
</nav>
|
60
|
+
{% endif %}
|
61
|
+
{{ tocLink }}
|
62
|
+
{% if forloop.last %}
|
63
|
+
</nav>
|
64
|
+
{% endif %}
|
65
|
+
{% endcapture %}
|
66
|
+
|
67
|
+
|
68
|
+
{% assign previousLevel = currentLevel %}
|
69
|
+
{% endfor %}
|
70
|
+
|
71
|
+
<nav id="tocSpyScroll" class="flex-column align-items-stretch">
|
72
|
+
<nav class="nav nav-pills flex-column">
|
73
|
+
{{ toc }}
|
74
|
+
</nav>
|
75
|
+
</nav>
|
76
|
+
|
77
|
+
{% endcapture %}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="toc">
|
82
|
+
{% if title %}
|
83
|
+
<h5>{{ title }}</h5>
|
84
|
+
{% endif %}
|
85
|
+
{{ workplace }}
|
86
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- Bootstrap 5.3.0 Bundle with Popper -->
|
2
|
+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
|
3
|
+
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
|
4
|
+
crossorigin="anonymous"
|
5
|
+
id="popper-script"></script>
|
6
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.min.js"
|
7
|
+
integrity="sha384-fbbOQedDUMZZ5KreZpsbe1LCZPVmfTnH7ois6mU1QK+m14rQ1l2bGBq41eYeM/fS"
|
8
|
+
crossorigin="anonymous"
|
9
|
+
id="bootstrap-script"></script>
|
10
|
+
|
11
|
+
<!-- Jekyll Site 1.0.0 -->
|
12
|
+
<script src="{{ "/assets/scripts/main.js" | absolute_url }}"
|
13
|
+
crossorigin="anonymous"
|
14
|
+
id="jekyll-script">
|
15
|
+
</script>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{%- assign language = page.language | default: site.language | default: "en" -%}
|
2
|
+
<!doctype html>
|
3
|
+
<html
|
4
|
+
lang="{{ language }}"
|
5
|
+
data-bs-theme="auto">
|
6
|
+
<head>
|
7
|
+
<meta charset="utf-8">
|
8
|
+
<meta
|
9
|
+
name="viewport"
|
10
|
+
content="width=device-width, initial-scale=1">
|
11
|
+
|
12
|
+
<!-- Style -->
|
13
|
+
<link rel="stylesheet" type="text/css" href="{{ "/assets/styles/main.css" | absolute_url }}">
|
14
|
+
|
15
|
+
</head>
|
16
|
+
<body>
|
17
|
+
<a href="#main" class="visually-hidden">Skip to main content</a>
|
18
|
+
<!-- Header -->
|
19
|
+
{%- include header.liquid -%}
|
20
|
+
<!-- Content -->
|
21
|
+
<main class="container">
|
22
|
+
<!-- Page Title -->
|
23
|
+
<H1 class="pt-5">{{ page.title }}</H1>
|
24
|
+
<!-- Breadcrumbs -->
|
25
|
+
{% include breadcrumb.liquid %}
|
26
|
+
{{ content }}
|
27
|
+
</main>
|
28
|
+
<!-- Footer -->
|
29
|
+
{%- include footer.liquid -%}
|
30
|
+
<!-- Scripts -->
|
31
|
+
{%- include scripts.liquid -%}
|
32
|
+
</body>
|
33
|
+
</html>
|
data/_layouts/home.html
ADDED