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

10 lines
467 B
Plaintext
Raw Normal View History

2024-01-19 01:05:44 +08:00
<% if (page.layout === 'post' || (page.wiki?.length > 0)) { %>
<script>
let tianliGPT_postSelector = 'article.content';
2023-05-09 13:09:05 +08:00
let tianliGPT_key = '<%= theme.plugins.tianli_gpt.api %>';
2023-12-06 13:22:07 +08:00
let tianliGPT_typingAnimate = '<%= theme.plugins.tianli_gpt.typingAnimate %>';
let tianliGPT_wordLimit = <%= theme.plugins.tianli_gpt.limit %>;
</script>
<script defer src="https://cdn1.tianli0.top/gh/zhheo/Post-Abstract-AI@0.15.2/tianli_gpt.min.js"></script>
<% } %>