disqus comments

This commit is contained in:
Sergey Yarkov 2020-01-25 22:14:31 +03:00
parent bfd2b3f23d
commit df2ca7b555
4 changed files with 10 additions and 5 deletions

6
dist/public/js/disqus.js vendored Normal file
View File

@ -0,0 +1,6 @@
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://justatest-2.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();

View File

@ -2,3 +2,4 @@
//script(src='../js/main.js') //script(src='../js/main.js')
script(src="https://cdn.commento.io/js/commento.js") script(src="https://cdn.commento.io/js/commento.js")
script(src='http://localhost:8080/main.js') script(src='http://localhost:8080/main.js')
script(src="../js/disqus.js")

View File

@ -18,9 +18,7 @@ main.main-section
hr hr
p p
strong Отзывы strong Отзывы
#commento #disqus_thread
//- Footer Template //- Footer Template
include ./assets/templates/footer.pug include ./assets/templates/footer.pug

View File

@ -50,7 +50,7 @@ main.main-section
p #{store.recommendations} p #{store.recommendations}
h3 Отзывы о товаре h3 Отзывы о товаре
#commento #disqus_thread
//- Footer Template //- Footer Template
include ./assets/templates/footer.pug include ./assets/templates/footer.pug