-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
67 lines (59 loc) · 2.39 KB
/
blog.html
File metadata and controls
67 lines (59 loc) · 2.39 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<script>
(function () {
var stored = localStorage.getItem('theme');
var prefers = window.matchMedia('(prefers-color-scheme:dark)').matches;
if (stored === 'dark' || (!stored && prefers)) {
document.documentElement.classList.add('dark-mode');
}
})();
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Blog - Robin's Site</title>
<link rel="stylesheet" href="css/shared.css" />
<link rel="stylesheet" href="css/blog.css" />
<template id="meta-include" data-src="components/meta-tags.html"></template>
<meta http-equiv="Content-Security-Policy" content="
default-src 'self';
script-src 'self' https://cdn.jsdelivr.net;
style-src 'self' 'unsafe-inline';
connect-src 'self';
font-src 'self';
img-src 'self' data:;">
</head>
<body>
<header id="header-placeholder"></header>
<section id="tag-filter">
<strong>Filter by Tag:</strong>
<div id="tag-buttons"></div>
</section>
<div id="search-container">
<input id="search-box" placeholder="Search posts..." aria-label="Search posts" />
<button id="search-button" aria-label="Execute search">↵</button>
</div>
<section id="posts-list"></section>
<div id="pagination">
<label for="per-page-select" class="pagination-label">Per page:</label>
<select id="per-page-select" aria-label="Posts per page">
<option value="10" selected>10</option>
<option value="20">20</option>
<option value="50">50</option>
</select>
<button id="prev-button" aria-label="Previous page">Previous</button>
<div id="page-jump">
<label for="page-input" class="pagination-label">Page</label>
<input id="page-input" type="number" min="1" value="1" aria-label="Current page" />
<span id="total-pages" aria-live="polite"></span>
</div>
<button id="next-button" aria-label="Next page">Next</button>
</div>
<a href="index.html" class="back-link">Back to Home</a>
<footer id="footer-placeholder"></footer>
<script type="module" src="js/header-footer.js"></script>
<script src="posts/js/blog.js"></script>
<script defer src="/_vercel/insights/script.js"></script>
</body>
</html>