File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,6 @@ target-blank:
3434 rel : nofollow
3535
3636header_page_refs : ['about']
37+
38+ disqus :
39+ shortname : " pyweekly"
Original file line number Diff line number Diff line change 1+ {%- if page.comments != false and jekyll.environment == "production" -%}
2+
3+ < div id ="disqus_thread "> </ div >
4+ < script >
5+ var disqus_config = function ( ) {
6+ this . page . url = '{{ page.url | absolute_url }}' ;
7+ this . page . identifier = '{{ page.url | absolute_url }}' ;
8+ } ;
9+
10+ ( function ( ) {
11+ var d = document , s = d . createElement ( 'script' ) ;
12+
13+ s . src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js' ;
14+
15+ s . setAttribute ( 'data-timestamp' , + new Date ( ) ) ;
16+ ( d . head || d . body ) . appendChild ( s ) ;
17+ } ) ( ) ;
18+ </ script >
19+ < noscript > Please enable JavaScript to view the < a href ="https://disqus.com/?ref_noscript " rel ="nofollow "> comments powered by Disqus.</ a > </ noscript >
20+ {%- endif -%}
You can’t perform that action at this time.
0 commit comments