2023-04-30 12:30:11 +08:00
|
|
|
<% 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' %>';
|
2023-05-09 13:09:05 +08:00
|
|
|
let tianliGPT_key = '<%= theme.plugins.tianli_gpt.api %>';
|
2023-04-30 12:30:11 +08:00
|
|
|
</script>
|
2023-05-09 13:09:05 +08:00
|
|
|
<script defer src="https://cdn1.tianli0.top/gh/zhheo/Post-Abstract-AI@0.9/tianli_gpt.js"></script>
|
2023-04-30 12:30:11 +08:00
|
|
|
<% } %>
|