File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1- < div id ="disqus_thread "> </ div >
1+ < div id ='discourse-comments '> </ div >
2+
23< script type ="text/javascript ">
3- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4- var disqus_shortname = 'codeception' ; // required: replace example with your forum shortname
4+ DiscourseEmbed = { discourseUrl : 'http://phptest.club/' ,
5+ discourseEmbedUrl : 'REPLACE_ME' } ;
56
6- /* * * DON'T EDIT BELOW THIS LINE * * */
7- ( function ( ) {
8- var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
9- dsq . src = 'http://' + disqus_shortname + '.disqus.com/embed.js' ;
10- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
11- } ) ( ) ;
12- </ script >
13- < noscript > Please enable JavaScript to view the < a href ="http://disqus.com/?ref_noscript "> comments powered by Disqus.</ a > </ noscript >
7+ ( function ( ) {
8+ var d = document . createElement ( 'script' ) ; d . type = 'text/javascript' ; d . async = true ;
9+ d . src = DiscourseEmbed . discourseUrl + 'javascripts/embed.js' ;
10+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( d ) ;
11+ } ) ( ) ;
12+ </ script >
Original file line number Diff line number Diff line change 4343 < div id ="page ">
4444 {{ content }}
4545 </ div >
46+
47+ {% include comment.html %}
4648 </ div >
4749
4850 </ div >
4951 </ div >
5052</ div >
53+
You can’t perform that action at this time.
0 commit comments