if theme.gitment && theme.gitment.enable #gitment-container script. var gitment = new Gitment({ id: md5(decodeURI(location.pathname)), owner: '!{theme.gitment.owner}', repo: '!{theme.gitment.repo}', oauth: { client_id: '!{theme.gitment.client_id}', client_secret: '!{theme.gitment.client_secret}' } }) gitment.render('gitment-container')