15 lines
550 B
Plaintext
Executable File
15 lines
550 B
Plaintext
Executable File
<% if(theme.valine.enable && theme.valine.appid && theme.valine.appkey) { %>
|
|
<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>
|
|
<% } %>
|