mirror of
https://github.com/halo-dev/theme-earth.git
synced 2026-01-13 07:03:50 +08:00
* docsme Signed-off-by: Ryan Wang <i@ryanc.cc> * Update Signed-off-by: Ryan Wang <i@ryanc.cc> * Add setting options Signed-off-by: Ryan Wang <i@ryanc.cc> --------- Signed-off-by: Ryan Wang <i@ryanc.cc>
24 lines
1.0 KiB
HTML
24 lines
1.0 KiB
HTML
<th:block th:if="${theme.config.plugin.docsme.source == 'plugin'}">
|
|
<th:block th:replace="~{plugin:plugin-docsme:doc-catalog}" />
|
|
</th:block>
|
|
|
|
<th:block th:if="${theme.config.plugin.docsme.source == 'theme'}">
|
|
<!doctype html>
|
|
<html
|
|
xmlns:th="https://www.thymeleaf.org"
|
|
th:replace="~{modules/doc-layout :: html(title = ${site.title}, hero = null, content = ~{::content}, head = ~{::head}, footer = null, sidebar = null, contentClass = null)}"
|
|
>
|
|
<th:block th:fragment="head">
|
|
<th:block th:replace="~{plugin:plugin-docsme:modules/style}" />
|
|
<th:block th:replace="~{plugin:plugin-docsme:modules/script}" />
|
|
<th:block th:replace="~{plugin:plugin-docsme:modules/plugin-scripts}" />
|
|
</th:block>
|
|
<th:block th:fragment="content">
|
|
<div class="dm-container">
|
|
<th:block th:replace="~{plugin:plugin-docsme:modules/header :: header (showThemeSwitcher = false)}" />
|
|
<th:block th:replace="~{plugin:plugin-docsme:modules/doc-catalog :: doc-catalog (footer = null)}" />
|
|
</div>
|
|
</th:block>
|
|
</html>
|
|
</th:block>
|