hexo-theme-stellar/layout/_partial/plugins/ai/tianli_gpt.ejs

9 lines
481 B
Plaintext

<% if (page.layout === 'post' || (page.layout === 'wiki' && page.wiki && page.wiki.length > 0)) { %>
<script>
let tianliGPT_postSelector = '.md-text.content.<%= page.layout === "post" ? "post" : "wiki" %>';
let tianliGPT_key = '<%= theme.plugins.tianli_gpt.api %>';
let tianliGPT_typingAnimate = '<%= theme.plugins.tianli_gpt.typingAnimate %>';
</script>
<script defer src="https://cdn1.tianli0.top/gh/zhheo/Post-Abstract-AI@0.13/tianli_gpt.js"></script>
<% } %>