Updated bootstrap, jQuery
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Jim Martens 2023-07-21 23:30:25 +02:00
parent 2961477103
commit 62e8bf9597
5 changed files with 21 additions and 7041 deletions

View File

@ -1,10 +1,3 @@
/*!
* Bootstrap v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// overwrite variables
$body-bg: #fdfdfd;
$enable-responsive-font-sizes: true;

File diff suppressed because it is too large Load Diff

View File

@ -33,21 +33,27 @@
</li>
{% endif %}
</ul>
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Creative Commons License" style="border-width:0"
src="{% link /assets/images/cc-by-sa40.png %}"/>
</a><br/>
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">{{ site.title }}</span> by
<span xmlns:dct="https://www.dublincore.org/schemas/xmls/qdc/dcterms.xsd" property="dct:title">{{ site.title }}</span> by
<a xmlns:cc="http://creativecommons.org/ns" href="{{ site.url }}"
property="cc:attributionName"
rel="cc:attributionURL">
{{ site.data.author.name }}
</a> is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
Creative Commons Attribution-ShareAlike 4.0 International License
</a>.
</div>
</div>
</div>
</footer>
<script
src="https://code.jquery.com/jquery-3.7.0.min.js"
integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<noscript><link rel="stylesheet" href="/assets/css/main.css" type="text/css"></noscript>

View File

@ -1,6 +1,5 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<meta name="description"
@ -36,15 +35,13 @@
(function( w ){
"use strict";
// rel=preload support test
if( !w.loadCSS ){
w.loadCSS = function(){};
}
const loadCSS = function() {};
// define on the loadCSS obj
var rp = loadCSS.relpreload = {};
const rp = loadCSS.relpreload = {};
// rel=preload feature support test
// runs once and returns a function for compat purposes
rp.support = (function(){
var ret;
let ret;
try {
ret = w.document.createElement( "link" ).relList.supports( "preload" );
} catch (e) {
@ -59,7 +56,7 @@
// then change that media back to its intended value on load
rp.bindMediaToggle = function( link ){
// remember existing media attr for ultimate state, or default to 'all'
var finalMedia = link.media || "all";
const finalMedia = link.media || "all";
function enableStylesheet(){
// unbind listeners
@ -96,9 +93,9 @@
if( rp.support() ){
return;
}
var links = w.document.getElementsByTagName( "link" );
for( var i = 0; i < links.length; i++ ){
var link = links[ i ];
const links = w.document.getElementsByTagName("link");
for(let i = 0; i < links.length; i++ ){
const link = links[i];
// qualify links to those with rel=preload and as=style attrs
if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){
// prevent rerunning on link
@ -115,7 +112,7 @@
rp.poly();
// rerun poly on an interval until onload
var run = w.setInterval( rp.poly, 500 );
const run = w.setInterval(rp.poly, 500);
if( w.addEventListener ){
w.addEventListener( "load", function(){
rp.poly();
@ -151,8 +148,5 @@
<script>
FontAwesomeConfig = { autoAddCss: false }
</script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script type="text/javascript" src="/assets/javascripts/main.js" defer></script>
</head>

View File

@ -7,7 +7,7 @@ import {create} from "browser-sync";
import cleancss from "gulp-clean-css";
import concat from "gulp-concat";
import {deleteAsync} from 'del';
import {execSync} from "child_process";
import {exec, execSync} from "child_process";
import gulp from "gulp";
import log from "fancy-log";
import imagemin from "gulp-imagemin";
@ -129,19 +129,19 @@ gulp.task("clean:images", function () {
// Runs jekyll build command.
gulp.task("build:jekyll", function () {
const shellCommand = "JEKYLL_ENV=production bundle exec jekyll build --config _config.yml";
return execSync(shellCommand);
return exec(shellCommand);
});
// Runs jekyll build command using test config.
gulp.task("build:jekyll:test", function () {
const shellCommand = "bundle exec jekyll build --config _config.yml,_config.test.yml";
return execSync(shellCommand);
return exec(shellCommand);
});
// Runs jekyll build command using local config.
gulp.task("build:jekyll:local", function () {
const shellCommand = "bundle exec jekyll build --config _config.yml,_config.test.yml,_config.dev.yml";
return execSync(shellCommand);
return exec(shellCommand);
});
gulp.task("htmlproofer", function () {