-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump bootstrap from 4.4.1 to 5.5.3
- Loading branch information
1 parent
3920be6
commit bb32a3c
Showing
10 changed files
with
172 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,64 @@ | ||
<nav class="navbar navbar-expand-xl navbar-light fixed-top navbar-custom {% if page.nav-short %}top-nav-short-permanent{% else %}top-nav-regular{% endif %}"> | ||
<div class="container-fluid"> | ||
|
||
{%- if site.title-img -%} | ||
<a class="navbar-brand navbar-brand-logo" href="{{ '/' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img | relative_url}}"/></a> | ||
{%- elsif site.title -%} | ||
<a class="navbar-brand" href="{{ '/' | absolute_url }}">{{ site.title }}</a> | ||
{%- endif -%} | ||
{%- if site.title-img -%} | ||
<a class="navbar-brand navbar-brand-logo" href="{{ '/' | absolute_url }}"><img alt="{{ site.title }} Logo" src="{{ site.title-img | relative_url}}"/></a> | ||
{%- elsif site.title -%} | ||
<a class="navbar-brand" href="{{ '/' | absolute_url }}">{{ site.title }}</a> | ||
{%- endif -%} | ||
|
||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main-navbar" aria-controls="main-navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse" id="main-navbar"> | ||
<ul class="navbar-nav ml-auto"> | ||
{%- for link in site.navbar-links -%} | ||
{%- if link[1].first %} | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ link[0] }}</a> | ||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> | ||
{%- for childlink in link[1] -%} | ||
{%- for linkparts in childlink %} | ||
<a class="dropdown-item" href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a> | ||
{%- endfor -%} | ||
{%- endfor %} | ||
</div> | ||
</li> | ||
{% else %} | ||
<div class="collapse navbar-collapse" id="main-navbar"> | ||
<ul class="navbar-nav ms-auto"> | ||
{%- for link in site.navbar-links -%} | ||
{%- if link[1].first %} | ||
<li class="nav-item dropdown"> | ||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">{{ link[0] }}</a> | ||
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown"> | ||
{%- for childlink in link[1] -%} | ||
{%- for linkparts in childlink %} | ||
<a class="dropdown-item" href="{{ linkparts[1] | relative_url }}">{{ linkparts[0] }}</a> | ||
{%- endfor -%} | ||
{%- endfor %} | ||
</div> | ||
</li> | ||
{% else %} | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ link[1] | relative_url }}">{{ link[0] }}</a> | ||
</li> | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{% if site.post_search %} | ||
<li class="nav-item"> | ||
<a class="nav-link" href="{{ link[1] | relative_url }}">{{ link[0] }}</a> | ||
<a class="nav-link" id="nav-search-link" href="#" title="Search"> | ||
<span id="nav-search-icon" class="fa fa-search"></span> | ||
<span id="nav-search-text">Search</span> | ||
</a> | ||
</li> | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{% if site.post_search %} | ||
<li class="nav-item"> | ||
<a class="nav-link" id="nav-search-link" href="#" title="Search"> | ||
<span id="nav-search-icon" class="fa fa-search"></span> | ||
<span id="nav-search-text">Search</span> | ||
</a> | ||
</li> | ||
{%- endif -%} | ||
</ul> | ||
</div> | ||
</ul> | ||
</div> | ||
|
||
{% if site.navbar-extra %} | ||
{% for file in site.navbar-extra %} | ||
{% include {{ file }} %} | ||
{% endfor %} | ||
{% endif %} | ||
{% if site.navbar-extra %} | ||
{% for file in site.navbar-extra %} | ||
{% include {{ file }} %} | ||
{% endfor %} | ||
{% endif %} | ||
|
||
{% if site.avatar and page.show-avatar != false %} | ||
<div class="avatar-container"> | ||
<div class="avatar-img-border"> | ||
<a href="{{ '/' | absolute_url }}"> | ||
<img alt="Navigation bar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" /> | ||
</a> | ||
{% if site.avatar and page.show-avatar != false %} | ||
<div class="avatar-container"> | ||
<div class="avatar-img-border"> | ||
<a href="{{ '/' | absolute_url }}"> | ||
<img alt="Navigation bar avatar" class="avatar-img" src="{{ site.avatar | relative_url }}" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endif %} | ||
|
||
</div> | ||
</nav> | ||
|
||
{% include search.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,14 @@ | |
- "/assets/css/bootstrap-social.css" | ||
- "/assets/css/beautifuljekyll.css" | ||
common-ext-css: | ||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" | ||
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
sri: "sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" | ||
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" | ||
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" | ||
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" | ||
common-ext-js: | ||
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js" | ||
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" | ||
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" | ||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" | ||
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
sri: "sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" | ||
common-js: | ||
- "/assets/js/beautifuljekyll.js" | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,11 @@ | |
common-css: | ||
- "/assets/css/beautifuljekyll-minimal.css" | ||
common-ext-css: | ||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" | ||
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
sri: "sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" | ||
common-ext-js: | ||
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js" | ||
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" | ||
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" | ||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" | ||
sri: "sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" | ||
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
sri: "sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.