mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 15:29:41 +08:00
修复搜索结果带有html标签内容导致网站搜索结果样式错误的问题
This commit is contained in:
parent
6575aeac16
commit
2d0d35ffe5
@ -3,17 +3,8 @@
|
||||
th:fragment="layout (title, canonical, content, isPost)">
|
||||
<th:block th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)},
|
||||
enableComment = ${baseEnableComment == true && site.comment.enable && pluginFinder.available('PluginCommentWidget')}">
|
||||
<th:block th:if="${!#strings.equals('',param._pjax)}">
|
||||
<th:block th:replace="~{common/head :: head}"/>
|
||||
<body>
|
||||
<div class="column-main">
|
||||
<th:block th:replace="${content}"/>
|
||||
</div>
|
||||
<th:block th:replace="~{common/scripts}"/>
|
||||
</body>
|
||||
</th:block>
|
||||
<th:block th:unless="${!#strings.equals('',param._pjax)}"
|
||||
th:with="stats = ${siteStatsFinder.getStats()}">
|
||||
|
||||
<th:block th:with="stats = ${siteStatsFinder.getStats()}">
|
||||
<th:block th:replace="~{common/head :: head}"/>
|
||||
<body>
|
||||
<th:block th:replace="~{common/navbar}"/>
|
||||
|
@ -51,7 +51,9 @@
|
||||
<a th:href="${hit.permalink}" th:target="${theme.config.page_config.search.search_target}" >
|
||||
<div class="card-content main">
|
||||
<h2 class="title" th:utext="${hit.title}"></h2>
|
||||
<div class="main-content not-toc" th:utext="${hit.description}"></div>
|
||||
<div class="main-content not-toc">
|
||||
<span th:utext="${hit.description}"></span>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="meta">
|
||||
<div></div>
|
||||
|
@ -30,7 +30,7 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 1.2.6.beta8
|
||||
version: 1.2.6.beta9
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.15.0"
|
||||
# 许可
|
||||
|
Loading…
x
Reference in New Issue
Block a user