hugo-theme-relearn/404.html
2022-02-16 17:55:35 +00:00

96 lines
3.9 KiB
HTML

<!DOCTYPE html>
<html lang="en" class="js csstransforms3d">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Hugo 0.92.2" />
<meta name="generator" content="Relearn 2.9.6">
<meta name="description" content="Documentation for Hugo Relearn Theme">
<meta name="author" content="Sören Weber">
<title>404 Page not found :: Documentation for Hugo Relearn Theme</title>
<link rel="icon" href="/hugo-theme-relearn/images/logo.svg?1645034132" type="image/svg+xml">
<link href="/hugo-theme-relearn/css/nucleus.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/featherlight.min.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/auto-complete.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/theme.css?1645034132" rel="stylesheet">
<link id="variant-style" href="/hugo-theme-relearn/css/theme-relearn-light.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/variant.css?1645034132" rel="stylesheet">
<link href="/hugo-theme-relearn/css/print.css?1645034132" rel="stylesheet" media="print">
<style>
</style>
<script>
// we need to define this script in the head to avoid flickering
// on page load if the user has selected a non default variant
var theme = window.localStorage.getItem( 'theme' );
changeTheme( theme );
function getTheme(){
var link = document.querySelector( '#variant-style' );
if( !link ){
return;
}
var path = link.getAttribute( 'href' );
var theme = path.match(/^.*\/theme-(.*?)\.css.*$/)[ 1 ];
return theme;
}
function markTheme( theme ){
var select = document.querySelector( '#select-theme' );
if( !select ){
return;
}
select.value = theme;
}
function changeTheme( theme ){
var themes = [ "relearn-light", "relearn-dark", "learn", "blue", "green", "red" ];
if( themes.indexOf( theme ) < 0 ){
theme = themes.length ? themes[ 0 ] : null;
}
if( !theme ){
return;
}
var link = document.querySelector( '#variant-style' );
if( !link ){
return;
}
var old_path = link.getAttribute( 'href' );
var new_path = old_path.replace( /^(.*\/theme-).*?(\.css.*)$/, '$1' + theme + '$2' );
if( old_path != new_path ){
window.localStorage.setItem( 'theme', theme );
link.setAttribute( 'href', new_path );
markTheme( theme );
// remove selection, because if some uses an arrow navigation
// by pressing the left or right cursor key, we will automatically
// select a different style
if( document.activeElement ){
document.activeElement.blur();
}
}
}
</script>
<script src="/hugo-theme-relearn/js/jquery.min.js?1645034132"></script>
<style>
p, li, ul {
text-align: center
}
ul {
list-style-type: none;
}
</style>
</head>
<body class="default-animation" data-url="/">
<div id="body default-animation" style="margin-left:0px;">
<div id="overlay"></div>
<div id="chapter">
<main id="body-inner">
<h1>Error</h1>
<p></p>
<p>Woops. Looks like this page doesn&#39;t exist ¯\_(ツ)_/¯.</p>
<p></p>
<p><a href="/hugo-theme-relearn/">Go to homepage</a></p>
<p><img src="/hugo-theme-relearn/images/gopher-404.jpg" style="width:50%" alt="Page not found!"></p>
</main>
</div>
</div>
</body>
</html>