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
+
2
3
< 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' } ;
5
6
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 43
43
< div id ="page ">
44
44
{{ content }}
45
45
</ div >
46
+
47
+ {% include comment.html %}
46
48
</ div >
47
49
48
50
</ div >
49
51
</ div >
50
52
</ div >
53
+
You can’t perform that action at this time.
0 commit comments