File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ <div id="disqus_thread"></div>
3
+ <script type="text/javascript">
4
+ /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
5
+ {% if page.language == 'ja' %}
6
+ var disqus_shortname = 'scalajp'; // required: replace example with your forum shortname
7
+ {% else %}
8
+ var disqus_shortname = 'scalasip'; // required: replace example with your forum shortname
9
+ {% endif %}
10
+
11
+ /* * * DON'T EDIT BELOW THIS LINE * * */
12
+ (function() {
13
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
14
+ dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
15
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
16
+ })();
17
+ </script>
18
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
19
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
Original file line number Diff line number Diff line change @@ -50,4 +50,6 @@ <h1 id="page-title">{{ page.title }}</h1>
50
50
</ div >
51
51
</ div >
52
52
53
+ {% if page.disqus == true %}{% include disqus.txt %}{% endif %}
54
+
53
55
{% include footer.html %}
You can’t perform that action at this time.
0 commit comments