Skip to content

Commit

Permalink
try to fix comments again
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Huseby <[email protected]>
  • Loading branch information
dhuseby committed Apr 24, 2024
1 parent f0d0d2d commit 34e3452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/.vuepress/config/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = [
['meta', { name: 'msapplication-TileColor', content: '#156ff7' }],
['meta', { name: 'apple-mobile-web-app-title', content: 'libp2p Blog & News' }],
['meta', { name: 'application-name', content: 'libp2p Blog & News' }],
['meta', { name: 'discourse-username', content: 'system' }],
['meta', { name: 'discourse-username', content: 'blog' }],
[
'script',
{
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/theme/components/blog/Comments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
d.type = 'text/javascript'
d.async = true
d.src = window.DiscourseEmbed.discourseUrl + 'javascripts/embed.js'
document.getElementsByTagName('body')[0].appendChild(d)
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d)
},
}
</script>

0 comments on commit 34e3452

Please sign in to comment.