style: refactor layout
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<th:block th:fragment="comment(group, kind, name)">
|
||||
<section class="comment" th:attr="name=${name},kind=${kind},group=${group}">
|
||||
<h2 th:text="#{page.post.comment}">Comments</h2>
|
||||
<halo:comment th:attr="name=${name},kind=${kind},group=${group}"/>
|
||||
</section>
|
||||
</th:block>
|
||||
@@ -1,6 +1,6 @@
|
||||
<th:block th:fragment="footer">
|
||||
<div class="footer-inner">
|
||||
<section class="footer-copyright-engine">
|
||||
<div class="footer-copyright-engine">
|
||||
<span>Powered by </span>
|
||||
<span>
|
||||
<a target="_blank" href="http://www.halo.run">Halo</a>
|
||||
@@ -8,8 +8,8 @@
|
||||
<span> :: </span>
|
||||
<span>Theme </span>
|
||||
<a target="_blank" href="https://github.com/Erzbir/halo-theme-terminal">Terminal</a>
|
||||
</section>
|
||||
<section class="footer-copyright-site">
|
||||
</div>
|
||||
<div class="footer-copyright-site">
|
||||
<div class="footer-user">
|
||||
<span>© </span>
|
||||
<span th:text="${#dates.year(#dates.createNow())}">2025</span>
|
||||
@@ -31,7 +31,7 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<halo:footer/>
|
||||
</th:block>
|
||||
|
||||
@@ -77,29 +77,27 @@
|
||||
|
||||
<body>
|
||||
<div class="page">
|
||||
<header>
|
||||
<div id="header-slot"></div>
|
||||
<header role="banner">
|
||||
<div id="header-slot" aria-hidden="true"></div>
|
||||
</header>
|
||||
<div class="main-wrapper">
|
||||
<div class="layout-wrapper">
|
||||
<aside class="sidebar-left">
|
||||
</aside>
|
||||
<main class="center container">
|
||||
<header class="header">
|
||||
<th:block th:replace="~{modules/header :: header(isHome = true)}"/>
|
||||
</header>
|
||||
<div class="content">
|
||||
<th:block th:replace="${content}"/>
|
||||
</div>
|
||||
</main>
|
||||
<aside class="sidebar-right">
|
||||
</aside>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<aside class="sidebar-left">
|
||||
</aside>
|
||||
<main class="container" role="main">
|
||||
<header class="header">
|
||||
<th:block th:replace="~{modules/header :: header(isHome = true)}"/>
|
||||
</header>
|
||||
<div class="content">
|
||||
<th:block th:replace="${content}"/>
|
||||
</div>
|
||||
</main>
|
||||
<aside class="sidebar-right">
|
||||
</aside>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
<div id="footer-slot-fist"></div>
|
||||
<footer class="footer" role="contentinfo">
|
||||
<div id="footer-slot-fist" aria-hidden="true"></div>
|
||||
<th:block th:replace="~{modules/footer}"/>
|
||||
<div id="footer-slot-last"></div>
|
||||
<div id="footer-slot-last" aria-hidden="true"></div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user