Skip to content

Commit 9f6509c

Browse files
committed
updated
1 parent 78b8064 commit 9f6509c

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

_includes/comment.html

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
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>

_layouts/doc.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@
4343
<div id="page">
4444
{{ content }}
4545
</div>
46+
47+
{% include comment.html %}
4648
</div>
4749

4850
</div>
4951
</div>
5052
</div>
53+

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy