feat: release Terminal-Witcher 3.1.17 and project handoff

Ship responsive navigation, configurable profile and four-section homepage, article/life category separation, natural-ratio book covers, and independent border settings. Include release history and complete context handoff documentation.
This commit is contained in:
2026-11-16 18:30:36 +08:00
parent 0859e49946
commit ca00daddf6
30 changed files with 2415 additions and 498 deletions
+1 -56
View File
@@ -7,61 +7,6 @@
<title th:text="${site.title}">Site title</title>
</th:block>
<th:block th:fragment="content">
<section class="index-content framed"
th:if="${not #strings.isEmpty(theme.config.index_page.notice_title) and not #strings.isEmpty(theme.config.index_page.notice_content)}">
<h1 class="typed-text" th:text="${theme.config.index_page.notice_title}"></h1>
<div th:utext="${theme.config.index_page.notice_content}"></div>
</section>
<section id="sns" th:if="${theme.config.index_page.show_sns}">
<th:block th:replace="~{modules/sns}"/>
</section>
<section class="posts">
<article class="post on-list" th:each="post : ${posts.items}">
<div class="post-wrapper">
<div class="post-content-wrapper">
<header>
<h2 class="post-title">
<span class="pin" th:classappend="${theme.config?.index_page?.pin_pos}" th:if="${post.spec.pinned} and ${theme.config?.index_page?.show_pin}">
<svg class="icon-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor" d="M5 2h14a1 1 0 0 1 1 1v19.143a.5.5 0 0 1-.766.424L12 18.03l-7.234 4.536A.5.5 0 0 1 4 22.143V3a1 1 0 0 1 1-1m13 2H6v15.432l6-3.761l6 3.761z" />
</svg>
<svg class="icon-pixel" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor" d="M18 2H6v2h12v16h-2v-2h-2v-2h-4v2H8v2H6V2H4v20h4v-2h2v-2h4v2h2v2h4V2z" />
</svg>
</span>
<a data-pjax th:text="${post.spec.title}" th:href="@{${post.status.permalink}}">Post Title</a>
</h2>
<div class="post-title-time">
<time class="post-date"
th:text="${#dates.format(post.spec.publishTime, '__${theme.config.general.time_style == 'custom' ?
theme.config.general.custom_time_style : theme.config.general.time_style}__')}">Publish Time</time>
<span class="post-author"
th:with="contributor = ${post.contributors[0]}"
th:text="${contributor.displayName}">Author</span>
<th:block th:replace="~{modules/tag-list(post = ${post}, show = ${theme.config.index_page.show_tags})}"/>
</div>
</header>
<div class="post-excerpt">
<span th:text="${post.status.excerpt}">Post Excerpt...</span>
</div>
</div>
<div class="post-cover-wrapper" th:if="${post.spec.cover}">
<img class="post-cover-image"
th:src="${post.spec.cover}"
th:srcset="|${thumbnail.gen(post.spec.cover, 's')} 400w, ${thumbnail.gen(post.spec.cover, 'm')} 800w, ${thumbnail.gen(post.spec.cover, 'l')} 1200w|"
sizes="(max-width: 800px) 100vw, 400px"
th:alt="${post.spec.title}"
loading="lazy"/>
</div>
</div>
</article>
</section>
<th:block th:replace="~{modules/pagination :: page(
hasPrevious=${posts.hasPrevious()},
previousUrl=@{${posts.prevUrl}},
hasNext=${posts.hasNext()},
nextUrl=@{${posts.nextUrl}},
previousClass=''
)}"/>
<th:block th:replace="~{modules/home :: home}"/>
</th:block>
</html>