文件
admin 261c0116ba
Theme CD / Package Theme (release) Failing after 13m8s
Theme CD / Release (release) Failing after 14m59s
refactor(alpine): restructure components and remove unused utilities for better modularity and maintainability
2026-06-14 08:31:42 +08:00

49 行
2.0 KiB
HTML

此文件含有模棱两可的 Unicode 字符
此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。
<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{modules/layout :: html(title = |${singlePage.spec.title} - ${site.title}|, pageType = 'page', terminalUserName = ${singlePage != null and singlePage.owner != null and !#strings.isEmpty(singlePage.owner.name) ? singlePage.owner.name : 'admin'}, content = ~{::content})}"
>
<th:block th:fragment="content">
<article class="devcm-editor-window devcm-article">
<div class="devcm-editor-tabs">
<div class="devcm-editor-tab devcm-editor-tab--active">
<span th:text="${singlePage.spec.title} + '.md'">page.md</span>
<a
class="devcm-editor-tab__close"
href="/"
th:aria-label="#{devcm.action.closePageTab}"
th:title="#{devcm.action.closePageTab}"
>×</a
>
</div>
</div>
<div class="devcm-editor-body devcm-article-content">
<h1 class="devcm-article-title" th:text="${singlePage.spec.title}">Page Title</h1>
<div class="devcm-article-meta">
<span th:text="${#dates.format(singlePage.spec.publishTime,'yyyy-MM-dd')}">publishTime</span>
<span th:text="${singlePage.owner.displayName}">Author</span>
</div>
<div th:utext="${singlePage.content.content}">Page Content</div>
</div>
</article>
<section class="comment-wrap devcm-comments" x-data="themeComment()" x-init="init()" th:if="${haloCommentEnabled}">
<div class="devcm-comment-titlebar">
<span class="devcm-window-dot"></span>
<span class="devcm-window-dot"></span>
<span class="devcm-window-dot"></span>
<strong th:text="#{devcm.comments.file}">comments.log</strong>
</div>
<div class="devcm-comment-body">
<h2 th:text="#{devcm.comments.title}">## Comments</h2>
<halo:comment
group="content.halo.run"
kind="SinglePage"
th:attr="name=${singlePage.metadata.name}"
colorScheme="localStorage.getItem('theme')"
/>
</div>
</section>
</th:block>
</html>