File tree 4 files changed +0
-24
lines changed
4 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 17
17
MINIFY_JS = True
18
18
19
19
20
- # Comments.
21
- DISQUS_SITENAME = 'andreacorbellini'
22
-
23
-
24
20
# Stats.
25
21
GOATCOUNTER_URL = 'https://cor.goatcounter.com/count'
26
22
Original file line number Diff line number Diff line change 1
1
< ul class ="article-details ">
2
2
< li > < time datetime ="{{ article.date.isoformat() }} "> {{ article.date.strftime('%B %d, %Y') }}</ time > </ li >
3
- < li > < a href ="{{ SITEURL }}/{{ article.url }}#disqus_thread " title ="Comments " class ="comments " data-disqus-identifier ="{{ article.slug }} "> Comments</ a > </ li >
4
3
</ ul >
Original file line number Diff line number Diff line change 59
59
} ;
60
60
</ script >
61
61
< script src ="https://cdn.jsdelivr.net/npm/mathjax@3.1.2/es5/tex-mml-chtml.js " defer > </ script >
62
- {% if DISQUS_SITENAME %}
63
- < script src ="https://{{ DISQUS_SITENAME }}.disqus.com/count.js " defer > </ script >
64
- {% endif %}
65
62
{% if GOATCOUNTER_URL %}
66
63
< script src ="https://gc.zgo.at/count.js " defer data-goatcounter ="{{ GOATCOUNTER_URL }} "> </ script >
67
64
{% endif %}
Original file line number Diff line number Diff line change 14
14
} ) ;
15
15
} ) ;
16
16
</ script >
17
- {% if DISQUS_SITENAME %}
18
- < script >
19
- var disqus_shortname = { { DISQUS_SITENAME | tojson } } ;
20
- var disqus_identifier = { { article. slug | tojson } } ;
21
- var disqus_title = { { article. title | tojson } } ;
22
- var disqus_url = { { ( SITEURL + '/' + article . url ) | tojson } } ;
23
- </ script >
24
- < script src ="https://{{ DISQUS_SITENAME }}.disqus.com/embed.js " defer > </ script >
25
- {% endif %}
26
17
{% for keyword in article.keywords %}
27
18
< meta name ="keywords " content ="{{ keyword }} ">
28
19
{% endfor %}
@@ -51,13 +42,6 @@ <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ article.t
51
42
</ aside >
52
43
< div class ="article-body "> {{ article.content|safe }}</ div >
53
44
</ div >
54
- {% if DISQUS_SITENAME %}
55
- < section class ="comments ">
56
- < h2 > Comments</ h2 >
57
- < div id ="disqus_thread "> </ div >
58
- < noscript > Comments are powered by < a href ="https://disqus.com/?ref_noscript "> Disqus</ a > . Enable JavaScript to see them.</ noscript >
59
- </ section >
60
- {% endif %}
61
45
</ article >
62
46
{% endautoescape %}
63
47
{% endblock %}
You can’t perform that action at this time.
0 commit comments