41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org"
|
||
|
th:replace="~{modules/layouts/layout :: layout(content = ~{::content}, htmlType = 'page',title = ${singlePage.spec.title + ' | ' + site.title}, head = ~{::head})}">
|
||
|
<th:block th:fragment="head">
|
||
|
<th:block th:replace="~{modules/common/open-graph :: open-graph(_title = ${singlePage.spec.title},
|
||
|
_permalink = ${singlePage.status.permalink},
|
||
|
_cover = ${singlePage.spec.cover},
|
||
|
_excerpt = ${singlePage.status.excerpt},
|
||
|
_type = 'website')}"></th:block>
|
||
|
</th:block>
|
||
|
<th:block th:fragment="content">
|
||
|
|
||
|
<div class="page" id="body-wrap">
|
||
|
<header class="not-top-img" id="page-header">
|
||
|
<nav th:replace="~{modules/nav :: nav(title = ${singlePage.spec.title})}"></nav>
|
||
|
<link rel="stylesheet" type="text/css" th:href="${assets_link + '/libs/fcircle/heo-fcircle3.css'}">
|
||
|
|
||
|
</header>
|
||
|
<main class="layout hide-aside" id="content-inner">
|
||
|
<div id="page">
|
||
|
|
||
|
<th:block th:replace="~{macro/content-links :: content-links(${htmlType})}" />
|
||
|
|
||
|
|
||
|
<hr/>
|
||
|
<!--/* 评论组件 */-->
|
||
|
<th:block
|
||
|
th:replace="~{modules/comment :: comment(group = 'content.halo.run',
|
||
|
kind = 'SinglePage',
|
||
|
name = ${singlePage.metadata.name},
|
||
|
allowComment = ${singlePage.spec.allowComment})}"/>
|
||
|
|
||
|
</div>
|
||
|
</main>
|
||
|
<!-- 底部 -->
|
||
|
<footer th:replace="~{modules/footer}"/>
|
||
|
</div>
|
||
|
|
||
|
</th:block>
|
||
|
|
||
|
</html>
|