diff --git a/src/pages/base.gr b/src/pages/base.gr index 9f772c9..d845163 100644 --- a/src/pages/base.gr +++ b/src/pages/base.gr @@ -1,33 +1,3 @@ -class CommentSectionWidget { - render () { - return ["div", [], [ - ["div", ["id", "graphcomment"], []], - ["script", [], [ - "var __semio__params = { - graphcommentId: 'Mliezun-Blog', // make sure the id is yours - - behaviour: { - uid: window.location.pathname, // uniq identifer for the comments thread on your page (ex: your page id) - }, - } - - /* - - - DON'T EDIT BELOW THIS LINE - - - */ - - function __semio__onload() { - __semio__gc_graphlogin(__semio__params); - } - - - (function() { - var gc = document.createElement('script'); gc.type = 'text/javascript'; gc.async = true; - gc.onload = __semio__onload; gc.defer = true; gc.src = 'https://integration.graphcomment.com/gc_graphlogin.js?' + Date.now(); - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(gc); - })();" - ]] - ]] - } -} - class Post { init(title, excerpt, author, tags, content) { this.title = title @@ -47,7 +17,6 @@ class Post { var time = Math.ceil(words/wpm); document.getElementById('reading-time').innerText = (time || 1) + (time > 1 ? ' minutes' : ' minute');" ]], - CommentSectionWidget().render(), ] } } diff --git a/src/pages/posts/2023-09-23-grotsky-rust-part2.gr b/src/pages/posts/2023-09-23-grotsky-rust-part2.gr index 26f8321..dd45096 100644 --- a/src/pages/posts/2023-09-23-grotsky-rust-part2.gr +++ b/src/pages/posts/2023-09-23-grotsky-rust-part2.gr @@ -64,7 +64,7 @@ let post = base.Post( " But I think the roadmap is easy enough so I can do it." ]], ["p", [], [ - "Thanks for reading. Please, leave a comment about your experience and struggle with side projects." + "Thanks for reading." ]], ] ) diff --git a/src/pages/posts/2023-11-23-grotsky-rust-part3.gr b/src/pages/posts/2023-11-23-grotsky-rust-part3.gr index c4f00d5..9fd5ef7 100644 --- a/src/pages/posts/2023-11-23-grotsky-rust-part3.gr +++ b/src/pages/posts/2023-11-23-grotsky-rust-part3.gr @@ -227,7 +227,7 @@ let post = base.Post( " what everyone else is doing.", ]], ["p", [], [ - "Thanks for reading and please leave a comment." + "Thanks for reading." ]], ] )