mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 04:19:41 +08:00
调整社交媒体meta标签,支持隐藏默认标签由插件添加
This commit is contained in:
parent
1f63130c6f
commit
33d92d7201
@ -4,7 +4,7 @@ th:with="description=${isPost ? post != null ? post.status.excerpt : singlePage
|
|||||||
<title th:text="${title + (#strings.isEmpty(site.subtitle) ? '' : '|' + site.subtitle)}"></title>
|
<title th:text="${title + (#strings.isEmpty(site.subtitle) ? '' : '|' + site.subtitle)}"></title>
|
||||||
<script th:if="${theme.config.enhance.enable_sw}" th:src="${(theme.config.enhance.enable_sw == 'uninstall')? #theme.assets('/assets/js/sw.min.js?uninstall=true') + '&mew=1.2.1' : '/sw.min.js?mew=1.2.1' + theme.config.enhance.enable_sw + '&cdn=' + theme.config.enhance.sw_cdn_source.replaceAll('\n', ',')}"></script>
|
<script th:if="${theme.config.enhance.enable_sw}" th:src="${(theme.config.enhance.enable_sw == 'uninstall')? #theme.assets('/assets/js/sw.min.js?uninstall=true') + '&mew=1.2.1' : '/sw.min.js?mew=1.2.1' + theme.config.enhance.enable_sw + '&cdn=' + theme.config.enhance.sw_cdn_source.replaceAll('\n', ',')}"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="on">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" th:content="${site.seo.keywords}"/>
|
<meta name="keywords" th:content="${site.seo.keywords}"/>
|
||||||
<meta name="description" th:content="${description}">
|
<meta name="description" th:content="${description}">
|
||||||
<meta name="author" th:content="${site.title}">
|
<meta name="author" th:content="${site.title}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user