- let option = theme.artitalk.option ? JSON.stringify(theme.artitalk.option) : false if top_img === false h1.page-title= page.title #artitalk_main script. (()=>{ let setting = { appId: '!{theme.artitalk.appId}', appKey: '!{theme.artitalk.appKey}', } if (!{Boolean(option)}) { const otherSetting = !{option} setting = Object.assign(setting, otherSetting) } const init = () => { new Artitalk(setting) } if (typeof Artitalk === 'function') { init() } else { getScript('!{theme.CDN.artitalk}').then(init) } })()