hexo-theme-stellar/layout/_partial/comments/artalk/layout.ejs

19 lines
361 B
Plaintext
Raw Normal View History

2022-12-11 14:33:10 +08:00
<%
function layoutDiv() {
var el = '';
el += '<div id="artalk_container"';
let cfg = {};
if (page.comment_id) {
cfg['comment_id'] = page.comment_id;
}
for (let key of Object.keys(cfg)) {
if (cfg[key]) {
el += ' ' + key + '="' + cfg[key] + '"';
}
}
2024-01-19 13:51:55 +08:00
el += `>${icon('default:loading')}</div>`
2022-12-11 14:33:10 +08:00
return el;
}
%>
<%- layoutDiv() %>