File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,27 @@ <h3>Contents</h3>
96
96
< d-citation-list > </ d-citation-list >
97
97
</ d-appendix >
98
98
99
+ < d-bibliography src ="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }} "> </ d-bibliography >
100
+
101
+ {%- if site.disqus_shortname and page.comments -%}
102
+ < div id ="disqus_thread " style ="max-width: 800px; margin: 0 auto "> </ div >
103
+ < script type ="text/javascript ">
104
+ var disqus_shortname = '{{ site.disqus_shortname }}' ;
105
+ var disqus_identifier = '{{ page.id }}' ;
106
+ var disqus_title = { { page . title | jsonify } } ;
107
+ ( function ( ) {
108
+ var dsq = document . createElement ( 'script' ) ; dsq . type = 'text/javascript' ; dsq . async = true ;
109
+ dsq . src = '//' + disqus_shortname + '.disqus.com/embed.js' ;
110
+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
111
+ } ) ( ) ;
112
+ </ script >
113
+ < noscript > Please enable JavaScript to view the < a href ="http://disqus.com/?ref_noscript "> comments powered by Disqus.</ a > </ noscript >
114
+ {%- endif %}
99
115
</ div >
100
116
101
117
<!-- Footer -->
102
118
{%- include footer.html %}
103
119
104
- < d-bibliography src ="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }} "> </ d-bibliography >
105
-
106
120
{% include scripts/bootstrap.html %}
107
121
{% include scripts/analytics.html %}
108
122
{% include scripts/progressBar.html %}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ <h1 class="post-title">{{ page.title }}</h1>
44
44
</ article >
45
45
46
46
{%- if site.disqus_shortname and page.comments -%}
47
- < div id ="disqus_thread "> </ div >
47
+ < div id ="disqus_thread " style =" max-width: {{ site.max_width }}; margin: 0 auto " > </ div >
48
48
< script type ="text/javascript ">
49
49
var disqus_shortname = '{{ site.disqus_shortname }}' ;
50
50
var disqus_identifier = '{{ page.id }}' ;
You can’t perform that action at this time.
0 commit comments