2020-03-19 14:51:48 +08:00
|
|
|
<% if(theme.valine.enable && theme.valine.appid && theme.valine.appkey) { %>
|
2020-03-21 23:04:01 +08:00
|
|
|
<div class="valine-container">
|
|
|
|
<script src='https://unpkg.com/valine@1.3.10/dist/Valine.min.js'></script>
|
|
|
|
<div id="valine"></div>
|
|
|
|
<script>
|
|
|
|
new Valine({
|
|
|
|
el: '#valine',
|
|
|
|
appId: '<%= theme.valine.appid %>',
|
|
|
|
appKey: '<%= theme.valine.appkey %>',
|
|
|
|
notify: '<%= theme.valine.notify %>',
|
|
|
|
verify: '<%= theme.valine.verify %>',
|
|
|
|
placeholder: '<%= theme.valine.placeholder %>'
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</div>
|
|
|
|
<% } %>
|