mirror of
https://github.com/sergeyyarkov/digital-store.git
synced 2026-10-11 10:19:15 +03:00
disqus comments
This commit is contained in:
parent
bfd2b3f23d
commit
df2ca7b555
6
dist/public/js/disqus.js
vendored
Normal file
6
dist/public/js/disqus.js
vendored
Normal 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);
|
||||
})();
|
||||
1
dist/views/main/assets/scripts.pug
vendored
1
dist/views/main/assets/scripts.pug
vendored
@ -2,3 +2,4 @@
|
||||
//script(src='../js/main.js')
|
||||
script(src="https://cdn.commento.io/js/commento.js")
|
||||
script(src='http://localhost:8080/main.js')
|
||||
script(src="../js/disqus.js")
|
||||
4
dist/views/main/comments.pug
vendored
4
dist/views/main/comments.pug
vendored
@ -18,9 +18,7 @@ main.main-section
|
||||
hr
|
||||
p
|
||||
strong Отзывы
|
||||
#commento
|
||||
|
||||
|
||||
#disqus_thread
|
||||
|
||||
//- Footer Template
|
||||
include ./assets/templates/footer.pug
|
||||
2
dist/views/main/product.pug
vendored
2
dist/views/main/product.pug
vendored
@ -50,7 +50,7 @@ main.main-section
|
||||
p #{store.recommendations}
|
||||
|
||||
h3 Отзывы о товаре
|
||||
#commento
|
||||
#disqus_thread
|
||||
|
||||
//- Footer Template
|
||||
include ./assets/templates/footer.pug
|
||||
Loading…
x
Reference in New Issue
Block a user