Compare commits

...

2 commits

Author SHA1 Message Date
374c5c624f built remove jquery 2023-11-18 21:17:58 -08:00
ef6d032106 removed jquery 2023-11-18 21:17:38 -08:00
13 changed files with 27 additions and 56 deletions

View file

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>Categories | Nickiel&#39;s Static Pages</title> <title>Categories | Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -12,11 +11,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -5,7 +5,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>Nickiel&#39;s Static Pages</title> <title>Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -13,11 +12,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -1 +0,0 @@
(()=>{console.log("This site was generated by Hugo. Test");})();

View file

@ -1,27 +1,16 @@
$(document).ready(function() {
light_mode();
})
function light_mode() { function light_mode() {
console.log("light mode!"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").removeClass("darkmode").removeClass("sunsetmode").addClass("lightmode"); document.body.className += " lightmode";
$("body").find("*").each(function () {
$(this).removeClass("darkmode").removeClass("sunsetmode").addClass("lightmode");
})
} }
function sunset_mode() { function sunset_mode() {
console.log("sunset mode!"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").removeClass("lightmode").removeClass("darkmode").addClass("sunsetmode"); document.body.className += " sunsetmode";
$("body").find("*").each(function () {
$(this).removeClass("lightmode").removeClass("darkmode").addClass("sunsetmode");
})
} }
function dark_mode() { function dark_mode() {
$("body").removeClass("lightmode").removeClass("sunsetmode").addClass("darkmode"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").find("*").each(function () { document.body.className += " darkmode";
$(this).removeClass("lightmode").removeClass("sunsetmode").addClass("darkmode");
})
} }

View file

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>Chrono-Track User manual | Nickiel&#39;s Static Pages</title> <title>Chrono-Track User manual | Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -12,11 +11,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>Posts | Nickiel&#39;s Static Pages</title> <title>Posts | Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -12,11 +11,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>WGU Capstone Setup Instructions | Nickiel&#39;s Static Pages</title> <title>WGU Capstone Setup Instructions | Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -12,11 +11,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -4,7 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>Tags | Nickiel&#39;s Static Pages</title> <title>Tags | Nickiel&#39;s Static Pages</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">
@ -12,11 +11,11 @@
<link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous"> <link rel="stylesheet" href="/css/main.min.13352547759ac6940d329309b455c1cc5e8b56036fb2faddc77c09b4ee1d3b31.css" integrity="sha256-EzUlR3WaxpQNMpMJtFXBzF6LVgNvsvrdx3wJtO4dOzE=" crossorigin="anonymous">
<script src="/js/main.a7cf2e93b3de95a03979d12ae93a1f43be4422a446bff4f7ccf71c285ccc2f95.js" integrity="sha256-p88uk7PelaA5edEq6TofQ75EIqRGv/T3zPccKFzML5U=" crossorigin="anonymous"></script> <script src="/js/main.f2979a93a325fecf9605263bd141398a311c8e23388ed7dcff74f92f7e632866.js" integrity="sha256-8peak6Ml/s&#43;WBSY70UE5ijEcjiM4jtfc/3T5L35jKGY=" crossorigin="anonymous"></script>
</head> </head>
<body> <body class="lightmode">
<header> <header>
<nav> <nav>

View file

@ -1 +1 @@
console.log('This site was generated by Hugo. Test'); // console.log('This site was generated by Hugo. Test');

View file

@ -3,7 +3,7 @@
<head> <head>
{{ partial "head.html" . }} {{ partial "head.html" . }}
</head> </head>
<body> <body class="lightmode">
<header> <header>
{{ partial "header.html" . }} {{ partial "header.html" . }}
</header> </header>

View file

@ -1,7 +1,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/navbar.js"></script> <script type="text/javascript" src="/navbar.js"></script>
<link rel="stylesheet" href="/catppuccin.css"> <link rel="stylesheet" href="/catppuccin.css">
<link rel="stylesheet" href="/variables.css"> <link rel="stylesheet" href="/variables.css">

View file

@ -1,27 +1,16 @@
$(document).ready(function() {
light_mode();
})
function light_mode() { function light_mode() {
console.log("light mode!"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").removeClass("darkmode").removeClass("sunsetmode").addClass("lightmode"); document.body.className += " lightmode";
$("body").find("*").each(function () {
$(this).removeClass("darkmode").removeClass("sunsetmode").addClass("lightmode");
})
} }
function sunset_mode() { function sunset_mode() {
console.log("sunset mode!"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").removeClass("lightmode").removeClass("darkmode").addClass("sunsetmode"); document.body.className += " sunsetmode";
$("body").find("*").each(function () {
$(this).removeClass("lightmode").removeClass("darkmode").addClass("sunsetmode");
})
} }
function dark_mode() { function dark_mode() {
$("body").removeClass("lightmode").removeClass("sunsetmode").addClass("darkmode"); document.body.className = document.body.className.replace("darkmode", "").replace("sunsetmode", "").replace("lightmode", "");
$("body").find("*").each(function () { document.body.className += " darkmode";
$(this).removeClass("lightmode").removeClass("sunsetmode").addClass("darkmode");
})
} }