hexo-theme-ayer/layout/_partial/post/twikoo.ejs

9 lines
302 B
JavaScript
Raw Normal View History

2020-12-24 05:36:44 +00:00
<% if (!index && theme.twikoo && theme.twikoo.enable){ %>
2022-02-24 03:21:40 +00:00
<script src="https://cdn.staticfile.org/twikoo/1.4.18/twikoo.all.min.js"></script>
2020-12-24 05:36:44 +00:00
<div id="twikoo" class="twikoo"></div>
<script>
twikoo.init({
envId: "<%- theme.twikoo.envId %>"
})
</script>
<% } %>