[opt] tianli_gpt
This commit is contained in:
parent
fbc47dce7f
commit
b717668ab3
|
@ -30,7 +30,7 @@ if (theme.plugins.heti && theme.plugins.heti.enable) {
|
|||
<%- layoutTitle() %>
|
||||
<%- post.content %>
|
||||
<% if (theme.plugins.tianli_gpt.enable && ['all', 'post'].includes(theme.plugins.tianli_gpt.field)) { %>
|
||||
<%- partial('_partial/main/article/ai_abstract') %>
|
||||
<%- partial('_partial/plugins/ai/tianli_gpt') %>
|
||||
<% } %>
|
||||
<%- partial('_partial/main/article/article_footer') %>
|
||||
</article>
|
||||
|
|
|
@ -37,7 +37,7 @@ function layoutTitle() {
|
|||
<%- layoutTitle() %>
|
||||
<%- page.content %>
|
||||
<% if (theme.plugins.tianli_gpt.enable && ['all', 'wiki'].includes(theme.plugins.tianli_gpt.field)) { %>
|
||||
<%- partial('_partial/main/article/ai_abstract') %>
|
||||
<%- partial('_partial/plugins/ai/tianli_gpt') %>
|
||||
<% } %>
|
||||
<%- partial('_partial/main/article/article_footer') %>
|
||||
</article>
|
||||
|
|
|
@ -13,6 +13,8 @@ if hexo-config('plugins.mermaid.enable')
|
|||
@import 'mermaid'
|
||||
if hexo-config('plugins.copycode.enable')
|
||||
@import 'copycode'
|
||||
if hexo-config('plugins.tianli_gpt.enable')
|
||||
@import 'tianli_gpt'
|
||||
|
||||
|
||||
// 评论
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
:root
|
||||
.post-TianliGPT
|
||||
--heo-none: #00000000
|
||||
--heo-theme = var(--theme-link)
|
||||
--heo-main: var(--theme-link)
|
||||
|
@ -7,7 +7,7 @@
|
|||
--heo-background: var(--site-bg)
|
||||
--heo-hovertext: var(--text-code)
|
||||
--heo-secondtext: var(--text-p0)
|
||||
--heo-scrollbar: rgba(60, 60, 67, 0.4)
|
||||
--heo-scrollbar: var(--block-border)
|
||||
--heo-secondbg: var(--block)
|
||||
--heo-card-bg: var(--block)
|
||||
--heo-card-bg-none: rgba(255, 255, 255, 0)
|
Loading…
Reference in New Issue