Tue, 31 May 2016 23:33:10 +0200
[prologix] typos
36
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | {% if DISQUS_SITENAME %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | <hr> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | <div id="disqus_thread"></div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | <script type="text/javascript"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | var disqus_shortname = "{{ DISQUS_SITENAME }}"; // required: replace example with your forum shortname |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | var disqus_identifier = "{{ article.title|string|replace(' ',' ')|replace(' ', '-' )|striptags|lower|e }}"; |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | var disqus_url = "{{ SITEURL }}/{{ article.url }}"; |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | var disqus_title = "{{ article.title|replace(' ',' ')|striptags|e }}"; |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | /* * * DON'T EDIT BELOW THIS LINE * * */ |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | (function() { |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | })(); |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | </script> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | {% endif %} |