1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Twine Solutions</title>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:200,300,400,500,600,700,800&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Outfit:200,300,400,500,600,700,800,900&display=swap">
<link rel="stylesheet" href="/assets/css/bss-overrides.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="/assets/css/template.css">
<script>
document.addEventListener('DOMContentLoaded', function () {
$('a[href$=".html"]').each(function () {
var href = $(this).attr('href');
// Only modify relative paths (not external URLs)
if (!href.startsWith("http") && href.endsWith(".html")) {
var newHref = href.replace(/\.html$/, '');
$(this).attr('href', newHref);
}
});
});
document.addEventListener("DOMContentLoaded", function () {
var path = window.location.pathname;
var page = path.substring(path.lastIndexOf("/") + 1); // e.g. "firmware.html"
var links = document.querySelectorAll(".navbar-nav .nav-link");
links.forEach(function (link) {
var href = link.getAttribute("href");
if (href === "/" + page || href === page) {
link.classList.add("active");
}
});
});
</script>
|