Move h-card and scroll-to-top button to components

This commit is contained in:
Leilukin 2025-05-05 23:06:22 +08:00
parent bfcba51b6b
commit c9cd85b484
5 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
<content-wrapper> <content-wrapper>
{{ if toc }} {{ if toc }}
{{ include "partials/toc.vto" }} {{ include "components/toc.vto" }}
{{ /if }} {{ /if }}
{{ set contentEl = (isArticle || articleElement) ? "article" : "div" }} {{ set contentEl = (isArticle || articleElement) ? "article" : "div" }}

View File

@ -21,8 +21,8 @@
<a href="https://ko-fi.com/leilukin">Support me on Ko-Fi</a> <a href="https://ko-fi.com/leilukin">Support me on Ko-Fi</a>
</p> </p>
{{ include "partials/h-card.vto" }} {{ include "components/h-card.vto" }}
{{ include "partials/top-btn.vto" }} {{ include "components/top-btn.vto" }}
</footer> </footer>
{{ css }} {{ css }}