Skip to content

Commit 37fd51d

Browse files
Update bootstrap and other library dependencies (alshedivat#741)
Squashed commit of the following: commit e036baf Author: Rohan Deb Sarkar <rohandebsarkar@protonmail.com> Date: Sun Jan 1 14:31:41 2023 +0530 Fix Altmetric badges commit 970bad8 Merge: 7fe570d 69e013b Author: Rohan Deb Sarkar <rohandebsarkar@protonmail.com> Date: Sun Jan 1 13:34:22 2023 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 7fe570d Merge: 3f23bd3 5f3c487 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Oct 17 12:58:30 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 3f23bd3 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Thu Oct 13 15:59:54 2022 +0530 move teaching to dropdown menu commit 9b05ef0 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Thu Oct 13 15:59:40 2022 +0530 fix theme change icon width commit e0e8cef Merge: 1bd8267 7d7567e Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Thu Oct 13 15:29:41 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 1bd8267 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Aug 29 18:50:32 2022 +0530 update mdb version commit 63a1bf7 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Aug 16 18:33:27 2022 +0530 fix publications badge color commit 2320adc Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Aug 15 20:41:15 2022 +0530 fix mdbootstrap script loading commit 73aa4f2 Merge: e1ed167 c142853 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Aug 15 08:44:00 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit e1ed167 Merge: ccac0d8 a36d7f5 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Aug 7 10:51:21 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit ccac0d8 Merge: 20125e3 4817639 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Thu Jul 28 21:57:19 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 20125e3 Merge: 1e64134 f618757 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Jul 24 22:49:10 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 1e64134 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sat Jul 16 10:36:04 2022 +0530 Update `sr-only` to `visually-hidden` commit 8fce0bb Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Fri Jul 15 21:02:01 2022 +0530 fix dropdown border radius commit c1904f8 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 13 11:35:22 2022 +0530 cv margin bottom commit 44696e6 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 13 11:20:38 2022 +0530 typo commit ed883fc Merge: 271567f 1ac9b7c Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 12 17:26:21 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 271567f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 22:39:40 2022 +0530 Update card spacing commit 8c28c98 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 22:33:31 2022 +0530 fix spacing publication links commit ed7ac19 Merge: e939946 24a5084 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 22:11:44 2022 +0530 Merge remote-tracking branch 'upstream/master' into update-bootstrap commit e939946 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 22:10:22 2022 +0530 fix blog paginantion bg color commit 9564dd9 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 22:00:28 2022 +0530 fix dropdown focus bg color commit 27ba43b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 11:19:47 2022 +0530 move canonical url to metadata commit 80d027c Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 11:15:07 2022 +0530 made material design optional commit 6a6c6a1 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 11:05:19 2022 +0530 fix space commit 436e3aa Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 10:52:38 2022 +0530 fix header title commit 263d11b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 10:49:05 2022 +0530 enable tooltips commit 2f2573b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 10:47:42 2022 +0530 Add option for material design and update MDBootstrap commit 4811a10 Merge: 2f1ea24 edd9fb7 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 11 10:41:12 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 2f1ea24 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Jul 10 09:02:01 2022 +0530 sorry, fix badge again agian again commit 323217f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Jul 10 08:28:55 2022 +0530 fix badge again again commit 7d8ed94 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Jul 10 08:12:39 2022 +0530 fix badge again commit 511b969 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sun Jul 10 07:51:02 2022 +0530 fix badge commit 7b59dfd Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sat Jul 9 21:58:33 2022 +0530 fix profile commit 0474573 Merge: 4042036 9d71804 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sat Jul 9 21:05:27 2022 +0530 Merge branch 'master' of https://github.com/alshedivat/al-folio into update-bootstrap commit 4042036 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sat Jul 9 20:46:36 2022 +0530 Update hover to `--global-hover-color` colors commit eaa6de2 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Sat Jul 9 19:19:31 2022 +0530 Update responsive profile image margin commit 955c0c5 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 6 16:44:06 2022 +0530 remove <b> in cv map commit 637c598 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 6 12:30:56 2022 +0530 badge width fix commit a94d671 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 6 11:06:25 2022 +0530 fix post bullets commit 1905fa0 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Wed Jul 6 09:29:20 2022 +0530 consisten bottom margin commit a54b88e Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 22:37:41 2022 +0530 fix blog tag color commit 69d8d3a Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 20:24:41 2022 +0530 update blog post-tags style commit ad9c57f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 19:41:53 2022 +0530 update publication abbr badge commit 7891f8d Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 19:22:05 2022 +0530 fix responsive cv badge commit 84fcc52 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 18:44:23 2022 +0530 fix cv map padding commit 1e0f0ea Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 16:51:46 2022 +0530 update body container margin commit 663e04b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 16:46:17 2022 +0530 fie responsive navbar border commit 70373fe Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:41:09 2022 +0530 update body paddings commit 9a50c00 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:22:32 2022 +0530 update footer sticky-bottom style commit 26be662 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:19:25 2022 +0530 update address style commit e977c30 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:12:29 2022 +0530 update cv badge style commit 2ea5420 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:08:42 2022 +0530 Update footer style commit 89cf3e7 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 14:04:00 2022 +0530 replace dropdown divider with <hr> commit 1dc0a05 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 12:14:19 2022 +0530 fix cv text color commit 86075d4 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 12:08:52 2022 +0530 Revert "fix publication year color" This reverts commit da1888b. commit 1ac23e9 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 12:08:49 2022 +0530 Revert "fix font color" This reverts commit 9348728. commit da1888b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 11:58:14 2022 +0530 fix publication year color commit 66a293d Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 11:56:48 2022 +0530 fix cv preview (fix previous commit) (previous one was done by mistake) commit 0c61288 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 11:42:31 2022 +0530 fix publication preview (`max-width` is determined by bootstrap in v5) commit a53b51b Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Tue Jul 5 09:39:26 2022 +0530 fix cv time_table badge commit 94ff515 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 21:09:09 2022 +0530 add empty line to `map.html` commit c5d3f9c Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:49:27 2022 +0530 Update blog tag padding commit f46d4cc Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:39:39 2022 +0530 add padding to cv pdf icon commit ae5509f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:37:20 2022 +0530 fix cv time_table commit e8b3f86 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:34:21 2022 +0530 fix cv map commit 52ffe49 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:10:57 2022 +0530 fix cv pdf icon commit 3c81d31 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:06:17 2022 +0530 remove baseurl (deployment problem) (will be reverted before merging) commit 691b164 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 15:04:52 2022 +0530 fix responsive navbar shadow commit 89be84f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 14:52:42 2022 +0530 fix responsive navbar commit 3b57133 Merge: 6fd8b93 fc52217 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 12:46:38 2022 +0530 Merge branch 'remove-library-subversions' into update-bootstrap commit 6fd8b93 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 12:34:28 2022 +0530 fix footer text commit 9348728 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 12:13:30 2022 +0530 fix font color commit fc52217 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 11:59:26 2022 +0530 Update cv pdf icon commit 97a2210 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 11:45:00 2022 +0530 fix `font-weight` commit 780fd4f Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 11:34:18 2022 +0530 fix <hr> commit 9a34957 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 11:15:45 2022 +0530 Update a commit 16560d5 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 11:07:19 2022 +0530 fix badge commit 8f466ea Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 09:43:27 2022 +0530 fix `data-toggle` commit 925049c Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 08:34:55 2022 +0530 fix alignment commit cb59020 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 08:34:47 2022 +0530 upgrade bootstrap commit 2090f56 Author: rohandebsarkar <rohandebsarkar@gmail.com> Date: Mon Jul 4 08:19:03 2022 +0530 Reduced libraries to major version only for automatic updates
1 parent 55cc55c commit 37fd51d

21 files changed

+167
-168
lines changed

_config.yml

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ footer_text: >
1616
keywords: jekyll, jekyll-theme, academic-website, portfolio-website # add your own keywords or leave empty
1717

1818
lang: en # the language of your site (for example: en, fr, cn, ru, etc.)
19-
icon: ⚛️ # the emoji used as the favicon (alternatively, provide image name in /assets/img/)
19+
icon: ⚛️ # the emoji used as the favicon (alternatively, provide image name in /assets/img/)
2020

2121
url: https://alshedivat.github.io # the base hostname & protocol for your site
22-
baseurl: /al-folio # the subpath of your site, e.g. /blog/
22+
# baseurl: /al-folio # the subpath of your site, e.g. /blog/
2323
last_updated: false # set to true if you want to display last updated in the footer
24-
impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR
24+
impressum_path: # set to path to include impressum link in the footer, use the same path as permalink in a page, helps to conform with EU GDPR
2525

2626
# -----------------------------------------------------------------------------
2727
# Theme
@@ -328,48 +328,41 @@ jekyll-diagrams:
328328

329329
enable_google_analytics: false # enables google analytics
330330
enable_panelbear_analytics: false # enables panelbear analytics
331-
enable_google_verification: false # enables google site verification
331+
332332
enable_bing_verification: false # enables bing site verification
333+
enable_google_verification: false # enables google site verification
334+
335+
enable_darkmode: true # enables switching between light/dark modes
333336
enable_masonry: true # enables automatic project cards arangement
337+
enable_material_design: true # enables material deisgn (uses MDBootstrap)
334338
enable_math: true # enables math typesetting (uses MathJax)
335-
enable_tooltips: false # enables automatic tooltip links generated
336-
# for each section titles on pages and posts
337-
enable_darkmode: true # enables switching between light/dark modes
339+
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
338340
enable_navbar_social: false # enables displaying social links in the
339341
# navbar on the about page
342+
enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position
340343
enable_project_categories: true # enables categorization of projects into
341344
# multiple categories
342-
enable_medium_zoom: true # enables image zoom feature (as on medium.com)
343-
enable_progressbar: true # enables a horizontal progress bar linked to the vertical scroll position
345+
enable_tooltips: true # enables automatic tooltip links generated
346+
# for each section titles on pages and posts
347+
344348

345349
# -----------------------------------------------------------------------------
346350
# Library versions
347351
# -----------------------------------------------------------------------------
348352

349353
academicons:
350-
version: "1.9.1"
351-
integrity: "sha256-i1+4qU2G2860dGGIOJscdC30s9beBXjFfzjWLjBRsBg="
354+
version: "1"
352355
bootstrap:
353-
version: "4.6.1"
354-
integrity:
355-
css: "sha256-DF7Zhf293AJxJNTmh5zhoYYIMs2oXitRfBjY+9L//AY="
356-
js: "sha256-fgLAgv7fyCGopR/gBNq2iW3ZKIdqIcyshnUULC4vex8="
356+
version: "5"
357357
fontawesome:
358-
version: "5.15.4"
359-
integrity: "sha256-mUZM63G8m73Mcidfrv5E+Y61y7a12O5mW4ezU3bxqW4="
358+
version: "6"
360359
jquery:
361-
version: "3.6.0"
362-
integrity: "sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
360+
version: "3"
363361
mathjax:
364-
version: "3.2.0"
362+
version: "3"
365363
masonry:
366-
version: "4.2.2"
367-
integrity: "sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI="
364+
version: "4"
368365
mdb:
369-
version: "4.20.0"
370-
integrity:
371-
css: "sha256-jpjYvU3G3N6nrrBwXJoVEYI/0zw8htfFnhT9ljN3JJw="
372-
js: "sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA="
366+
version: "5"
373367
medium_zoom:
374-
version: "1.0.6"
375-
integrity: "sha256-EdPgYcPk/IIrw7FYeuJQexva49pVRZNmt3LculEr7zM="
368+
version: "1"

_includes/cv/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul class="card-text font-weight-light list-group list-group-flush">
1+
<ul class="card-text fw-light list-group list-group-flush">
22
{% for content in entry.contents %}
33
<li class="list-group-item">{{ content }}</li>
44
{% endfor %}

_includes/cv/map.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<table class="table table-sm table-borderless table-responsive">
1+
<table class="table table-sm table-borderless table-responsive d-block">
22
{% for content in entry.contents %}
33
<tr>
4-
<td class="p-1 pr-2 font-weight-bold"><b>{{ content.name }}</b></td>
5-
<td class="p-1 pl-2 font-weight-light text">{{ content.value }}</td>
4+
<td class="p-2 pe-4 fw-bold">{{ content.name }}</td>
5+
<td class="p-2 ps-4 fw-light text">{{ content.value }}</td>
66
</tr>
77
{% endfor %}
8-
</table>
8+
</table>

_includes/cv/nested_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul class="card-text font-weight-light list-group list-group-flush">
1+
<ul class="card-text fw-light list-group list-group-flush">
22
{% for content in entry.contents %}
33
<li class="list-group-item">
44
<h5 class="font-italic">{{ content.title }}</h5>

_includes/cv/time_table.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
<ul class="card-text font-weight-light list-group list-group-flush">
1+
<ul class="card-text fw-light list-group list-group-flush">
22
{% for content in entry.contents %}
33
<li class="list-group-item">
44
<div class="row">
55
{% if content.year %}
6-
<div class="col-xs-2 cl-sm-2 col-md-2 text-center" style="width: 75px;">
7-
<span class="badge font-weight-bold danger-color-dark text-uppercase align-middle" style="min-width: 75px;">
6+
<div class="col-xs-2 cs-sm-2 col-md-2">
7+
<span class="badge d-md-flex fw-bold justify-content-center align-middle">
88
{{ content.year }}
99
</span>
1010
</div>
1111
{% endif %}
12-
<div class="col-xs-10 cl-sm-10 col-md-10 mt-2 mt-md-0">
12+
<div class="col-xs-10 cs-sm-10 col-md-10 mt-2 mt-md-0">
1313
{% if content.title %}
14-
<h6 class="title font-weight-bold ml-1 ml-md-4">{{content.title}}</h6>
14+
<h6 class="title fw-bold ms-1 ms-md-4">{{content.title}}</h6>
1515
{% endif %}
1616
{% if content.institution %}
17-
<h6 class="ml-1 ml-md-4" style="font-size: 0.95rem;">{{content.institution}}</h6>
17+
<h6 class="ms-1 ms-md-4" style="font-size: 0.95rem;">{{content.institution}}</h6>
1818
{% endif %}
1919
{% if content.description %}
20-
<ul class="items">
20+
<ul class="items ms-2">
2121
{% for item in content.description %}
2222
<li>
2323
{% if item.contents %}

_includes/head.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
<!-- Metadata, OpenGraph and Schema.org -->
22
{% include metadata.html %}
33

4-
<!-- Bootstrap & MDB -->
4+
<!-- Bootstrap -->
55
<link href="https://cdn.jsdelivr.net/npm/bootstrap@{{ site.bootstrap.version }}/dist/css/bootstrap.min.css" rel="stylesheet" integrity="{{ site.bootstrap.integrity.css }}" crossorigin="anonymous">
6-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mdbootstrap@{{ site.mdb.version }}/css/mdb.min.css" integrity="{{ site.mdb.integrity.css }}" crossorigin="anonymous" />
76

87
<!-- Fonts & Icons -->
98
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@{{ site.fontawesome.version }}/css/all.min.css" integrity="{{ site.fontawesome.integrity }}" crossorigin="anonymous">
109
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/academicons@{{ site.academicons.version }}/css/academicons.min.css" integrity="{{ site.academicons.integrity }}" crossorigin="anonymous">
11-
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:100,300,400,500,700|Material+Icons">
10+
11+
{% if site.enable_material_design %}
12+
<!-- MDBootstrap -->
13+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap">
14+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/mdb-ui-kit@{{ site.mdb.version }}/css/mdb.min.css" integrity="{{ site.mdb.integrity.css }}" crossorigin="anonymous" />
15+
{% endif %}
1216

1317
<!-- Code Syntax Highlighting -->
1418
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_light | append: '.css' }}" media="" id="highlight_theme_light" />
1519

16-
<!-- Styles -->
20+
<!-- Favicon -->
1721
{% if site.icon.size < 3 %}
1822
<link rel="shortcut icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ site.icon }}</text></svg>">
1923
{% elsif site.icon != blank %}
2024
<link rel="shortcut icon" href="{{ site.icon | prepend: '/assets/img/' | relative_url}}"/>
2125
{% endif %}
26+
27+
<!-- Custom Stylessheet -->
2228
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
23-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
2429

2530
<!-- Dark Mode -->
2631
{% if site.enable_darkmode %}

_includes/header.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<nav id="navbar" class="navbar navbar-light navbar-expand-sm {% if site.navbar_fixed %}fixed-top{% else %}sticky-top{% endif %}">
66
<div class="container">
77
{% if page.permalink != '/' -%}
8-
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl }}/">
8+
<a class="navbar-brand title fw-lighter" href="{{ site.baseurl }}/">
99
{%- if site.title == "blank" -%}
1010
{%- if site.first_name -%}
11-
<span class="font-weight-bold">{{- site.first_name -}}&nbsp;</span>
11+
<span class="fw-bold">{{- site.first_name -}}&nbsp;</span>
1212
{%- endif -%}
1313
{%- if site.middle_name -%}
1414
{{- site.middle_name -}}&nbsp;
@@ -27,15 +27,15 @@
2727
</div>
2828
{% endif %}
2929
<!-- Navbar Toggle -->
30-
<button class="navbar-toggler collapsed ml-auto" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
31-
<span class="sr-only">Toggle navigation</span>
30+
<button class="navbar-toggler collapsed ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
31+
<span class="visually-hidden">Toggle navigation</span>
3232
<span class="icon-bar top-bar"></span>
3333
<span class="icon-bar middle-bar"></span>
3434
<span class="icon-bar bottom-bar"></span>
3535
</button>
3636

37-
<div class="collapse navbar-collapse text-right" id="navbarNav">
38-
<ul class="navbar-nav ml-auto flex-nowrap">
37+
<div class="collapse navbar-collapse text-end" id="navbarNav">
38+
<ul class="navbar-nav ms-auto flex-nowrap">
3939

4040
{%- for page in site.pages -%}
4141
{% if page.permalink == '/' %}
@@ -47,7 +47,7 @@
4747
<li class="nav-item {% if page.permalink == '/' %}active{% endif %}">
4848
<a class="nav-link" href="{{ '/' | relative_url }}">{{ about_title }}
4949
{%- if page.permalink == '/' -%}
50-
<span class="sr-only">(current)</span>
50+
<span class="visually-hidden">(current)</span>
5151
{%- endif -%}
5252
</a>
5353
</li>
@@ -56,7 +56,7 @@
5656
<li class="nav-item {% if page.url contains 'blog' %}active{% endif %}">
5757
<a class="nav-link" href="{{ '/blog/' | relative_url }}">{{ site.blog_nav_title }}
5858
{%- if page.url contains 'blog' -%}
59-
<span class="sr-only">(current)</span>
59+
<span class="visually-hidden">(current)</span>
6060
{%- endif -%}
6161
</a>
6262
</li>
@@ -68,15 +68,15 @@
6868
{%- if p.nav and p.autogen == nil -%}
6969
{%- if p.dropdown %}
7070
<li class="nav-item dropdown {% if page.title == p.title %}active{% endif %}">
71-
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ p.title }}
71+
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ p.title }}
7272
{%- if page.title == p.title -%}
73-
<span class="sr-only">(current)</span>
73+
<span class="visually-hidden">(current)</span>
7474
{%- endif -%}
7575
</a>
76-
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
76+
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
7777
{%- for child in p.children -%}
7878
{%- if child.title == 'divider' %}
79-
<div class="dropdown-divider"></div>
79+
<hr>
8080
{%- else %}
8181
<a class="dropdown-item" href="{{ child.permalink | relative_url }}">{{ child.title }}</a>
8282
{%- endif -%}
@@ -87,7 +87,7 @@
8787
<li class="nav-item {% if page.title == p.title %}active{% endif %}">
8888
<a class="nav-link" href="{{ p.url | relative_url }}">{{ p.title }}
8989
{%- if page.title == p.title -%}
90-
<span class="sr-only">(current)</span>
90+
<span class="visually-hidden">(current)</span>
9191
{%- endif -%}
9292
</a>
9393
</li>

_includes/metadata.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
</title>
3333
<meta name="author" content="{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}" />
3434
<meta name="description" content="{%- if page.description -%}{{ page.description }}{%- else -%}{{ site.description }}{%- endif -%}" />
35-
{%- if page.keywords or site.keywords %}
35+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
36+
37+
{%- if page.keywords or site.keywords %}
3638
<meta name="keywords" content="{%- if page.keywords -%}{{ page.keywords }}{%- else -%}{{ site.keywords }}{%- endif -%}" />
3739
{%- endif %}
3840

_includes/projects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="card-body">
1616
<h2 class="card-title text-lowercase">{{ project.title }}</h2>
1717
<p class="card-text">{{ project.description }}</p>
18-
<div class="row ml-1 mr-1 p-0">
18+
<div class="row ms-1 me-1 p-0">
1919
{%- if project.github -%}
2020
<div class="github-icon">
2121
<div class="icon" data-toggle="tooltip" title="Code Repository">

_includes/projects_horizontal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="card-body">
1818
<h3 class="card-title text-lowercase">{{ project.title }}</h3>
1919
<p class="card-text">{{ project.description }}</p>
20-
<div class="row ml-1 mr-1 p-0">
20+
<div class="row ms-1 me-1 p-0">
2121
{%- if project.github -%}
2222
<div class="github-icon">
2323
<div class="icon" data-toggle="tooltip" title="Code Repository">

0 commit comments

Comments
 (0)