File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717MINIFY_JS = True
1818
1919
20- # Comments.
21- DISQUS_SITENAME = 'andreacorbellini'
22-
23-
2420# Stats.
2521GOATCOUNTER_URL = 'https://cor.goatcounter.com/count'
2622
Original file line number Diff line number Diff line change 11< ul class ="article-details ">
22 < 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 >
43</ ul >
Original file line number Diff line number Diff line change 5959 } ;
6060 </ script >
6161 < 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 %}
6562 {% if GOATCOUNTER_URL %}
6663 < script src ="https://gc.zgo.at/count.js " defer data-goatcounter ="{{ GOATCOUNTER_URL }} "> </ script >
6764 {% endif %}
Original file line number Diff line number Diff line change 1414 } ) ;
1515 } ) ;
1616 </ 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 %}
2617 {% for keyword in article.keywords %}
2718 < meta name ="keywords " content ="{{ keyword }} ">
2819 {% endfor %}
@@ -51,13 +42,6 @@ <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="{{ article.t
5142 </ aside >
5243 < div class ="article-body "> {{ article.content|safe }}</ div >
5344 </ 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 %}
6145 </ article >
6246 {% endautoescape %}
6347{% endblock %}
You can’t perform that action at this time.
0 commit comments