New reading.html renders the data file into a #reading-list container and marks itself as the current page. Home and contact pages gain a Reading nav link. CSS adds responsive category/list styles (two columns on wide screens) so long lists stay scannable.
33 lines
1.0 KiB
HTML
33 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Reading list | My Personal Blog</title>
|
|
<link rel="stylesheet" href="css/style.css" />
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<nav class="site-nav" aria-label="Main navigation">
|
|
<a class="brand" href="index.html">My Blog</a>
|
|
<ul class="nav-links">
|
|
<li><a href="index.html">Home</a></li>
|
|
<li><a href="reading.html" aria-current="page">Reading</a></li>
|
|
<li><a href="contact.html">Contact</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<main>
|
|
<h1>Reading list</h1>
|
|
<p>Articles and links I’ve found worth keeping, grouped by category.</p>
|
|
<div id="reading-list">
|
|
<noscript><p class="reading-empty">This page needs JavaScript to render the reading list.</p></noscript>
|
|
</div>
|
|
</main>
|
|
<footer class="site-footer">
|
|
<p>© 2026 My Personal Blog</p>
|
|
</footer>
|
|
<script type="module" src="js/reading-list.js"></script>
|
|
</body>
|
|
</html>
|