Refactor templates and update ChaoDoc module for improved structure and clarity

This commit is contained in:
2026-04-09 00:07:51 +08:00
parent 5e0c735ed3
commit f592483e69
5 changed files with 101 additions and 72 deletions

View File

@@ -89,10 +89,9 @@ html body div.text-space main ul.post-list {
header {
font-weight: 400;
font-family: "IosevkaC", sans-serif;
}
nav a {
display: inline-block;
font-size: 2rem;
text-decoration: none;
line-height: 120%;
}
.uri {

View File

@@ -25,13 +25,15 @@
</div>
<div class="text-space">
<header class="no-print">
<nav>
<a href="/">Home</a>
</nav>
<a href="/">/</a>
$title$
</header>
<main role="main">
<h1 class="pagetitle">$title$</h1>
$body$
<article>
<section class="body">
$body$
</section>
</article>
</main>
<footer></footer>
</div>

View File

@@ -1,5 +0,0 @@
<article>
<section class="body">
$body$
</section>
</article>