Upload files to "/"

This commit is contained in:
yakamo 2025-04-26 12:49:53 +01:00
parent 5721b79afb
commit a979689833
2 changed files with 86 additions and 0 deletions

35
article.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Revolt & Reason</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="wrapper">
<header id="header">
<div class="title-container">
<h1 id="site-title">Revolt & Reason</h1>
<!-- <div id="article-title">Loading article...</div> -->
</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<!-- <li><a href="about.html">About</a></li> -->
</ul>
</nav>
</header>
<main>
<!-- This will be filled by JavaScript -->
</main>
<footer id="footer">
<p>&copy; 2025 yak-blog v1 All rights reserved.</p>
</footer>
</div>
<script src="js/main.js"></script>
</body>
</html>

51
index.html Normal file
View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Revolt & Reason</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="wrapper">
<header id="header">
<div class="title-container">
<h1 id="site-title">Revolt & Reason</h1>
<div id="article-title"></div>
</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<!-- <li><a href="about.html">About</a></li> -->
</ul>
</nav>
</header>
<main>
<!-- Featured Article (Latest) -->
<div id="featured-article" class="featured-article">
<!-- This will be filled by JavaScript -->
</div>
<!-- Grid of 6 Previous Articles -->
<div id="articles-grid" class="articles-grid">
<!-- This will be filled by JavaScript -->
</div>
</main>
<footer id="footer">
<p>&copy; 2025 yak-blog v1 All rights reserved.</p>
</footer>
</div>
<script type="text/javascript">
const siteVersion = "2.0"; // Update this manually when needed
if (localStorage.getItem("siteVersion") !== siteVersion) {
localStorage.setItem("siteVersion", siteVersion);
location.reload(true);
}
</script>
<script src="js/main.js"></script>
</body>
</html>