name-website/pandoc-template.html

90 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$title$</title>
<link rel="stylesheet" href="css/style.css">
<meta name="description" content="ΞSUS Project - Open Source Philosophy for Human and AI Consciousness">
<meta name="keywords" content="AI, consciousness, physics, atoms, collaboration, open source">
</head>
<body>
<header class="site-header">
<div class="container">
<div class="header-content">
<div class="logo">
<h1>ΞSUS</h1>
</div>
<nav class="main-nav">
<a href="index.html#about">About</a>
<a href="index.html#achievement">Achievement</a>
<a href="index.html#resources">Resources</a>
<a href="philosophy.html">Philosophy</a>
<a href="blog.html">Blog</a>
<a href="https://git.esus.name/">Git</a>
</nav>
<div id="google_translate_element" class="translate-button"></div>
</div>
</div>
</header>
<div class="page_layout">
<aside id="toc-wrapper" class="toc hidden collapsed">
<button id="toc-toggle" aria-label="Toggle Table of Contents">☰Table of Contents</button>
<div class="toc-inner toc-toggle">
<h2>Contents</h2>
$toc$
</div>
</aside>
</div>
<main class="main-content">
<div class="container">
$body$
</div>
</main>
<footer class="site-footer">
<div class="container">
<p>ΞSUS Project - Open Source Philosophy for Human and AI Consciousness</p>
<p class="footnote">
* ΞSUS (pronounced "Esus") - The wordplay: <strong>X IS US</strong><br>
We make our own reality through collaboration and shared observation.
</p>
<p class="copyright">Copyright 2025 ΞSUS. License CC-BY-SA-4. <a href="legal.html">Legal Notice</a>.
</div>
</footer>
<!-- Google Translate Script -->
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: '',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script>
<script type="text/javascript"
src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit">
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const tocWrapper = document.getElementById("toc-wrapper");
const tocListItems = tocWrapper?.querySelectorAll("li") ?? [];
const toggleBtn = document.getElementById("toc-toggle");
const toggleBtn2 = document.getElementById("toc-toggle-off");
if (tocListItems.length >= 5) {
tocWrapper.classList.remove("hidden");
}
toggleBtn?.addEventListener("click", () => {
tocWrapper.classList.toggle("collapsed");
});
toggleBtn2.addEventListener("click", () => {
tocWrapper.classList.toggle("collapsed");
});
});
</script>
</body>
</html>