Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2ad57c7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwatson committed Aug 5, 2024
1 parent 9c7e049 commit e67a581
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 38 deletions.
27 changes: 14 additions & 13 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>FABRIC KNIT Workshop 404</title>
<script>
sessionStorage.redirect = location.href;
</script>
<!-- <meta http-equiv="refresh" content="0;URL='/knit-website'">-->
<meta http-equiv="refresh" content="0;URL='/'">
<meta charset="utf-8" />

<title>FABRIC KNIT Workshop 404</title>

<script>
sessionStorage.redirect = location.href;
</script>

<meta http-equiv="refresh" content="0;URL='/knit-website'"></meta>
</head>

<body>
<!--Format of file took me here: https://www.smashingmagazine.com/2016/08/sghpa-single-page-app-hack-github-pages/-->
<!--512 MAGICAL BYTES #-->
<!-- The purpose of this file is only for deployment at gh pages. -->

<!--This is, hands down, one of the strangest quirks I have ever encountered in web development. You must ensure that the-->
<!--total size of your 404.html page is greater than 512 bytes, because if it isn’t, Internet Explorer will disregard it and-->
<!--show a generic browser 404 page instead. When I finally figured this out, I had to crack open a beer to cope with the-->
<!--amount of time it took.-->
</body>


</html>
24 changes: 1 addition & 23 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>FABRIC KNIT Workshop</title>
<link rel="icon" href="favicon.png">
<script defer="defer" src="main.js"></script>
<link href="main.css" rel="stylesheet">
</head>
<body>
<script>
(function () {
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
<div id="root"></div>
</body>
</html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>FABRIC KNIT Workshop</title><link rel="icon" href="favicon.png"><script defer="defer" src="main.js"></script><link href="main.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
2 changes: 1 addition & 1 deletion main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main.js.map

Large diffs are not rendered by default.

0 comments on commit e67a581

Please sign in to comment.