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 // overwrite variables
$body-bg: #fdfdfd; $body-bg: #fdfdfd;
$enable-responsive-font-sizes: true; $enable-responsive-font-sizes: true;

File diff suppressed because it is too large Load Diff

View File

@ -33,21 +33,27 @@
</li> </li>
{% endif %} {% endif %}
</ul> </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" <img alt="Creative Commons License" style="border-width:0"
src="{% link /assets/images/cc-by-sa40.png %}"/> src="{% link /assets/images/cc-by-sa40.png %}"/>
</a><br/> </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 }}" <a xmlns:cc="http://creativecommons.org/ns" href="{{ site.url }}"
property="cc:attributionName" property="cc:attributionName"
rel="cc:attributionURL"> rel="cc:attributionURL">
{{ site.data.author.name }} {{ site.data.author.name }}
</a> is licensed under a </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 Creative Commons Attribution-ShareAlike 4.0 International License
</a>. </a>.
</div> </div>
</div> </div>
</div> </div>
</footer> </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> <noscript><link rel="stylesheet" href="/assets/css/main.css" type="text/css"></noscript>

View File

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

View File

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