mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Indent jinja code blocks, allow editors to collapse regions
This commit is contained in:
parent
4aee394acb
commit
75a023e04c
16 changed files with 253 additions and 249 deletions
|
|
@ -1,20 +1,20 @@
|
|||
{% if DISQUS_SITENAME %}
|
||||
<hr>
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function() {
|
||||
this.page.url = '{{ SITEURL }}/{{ output_file }}';
|
||||
this.page.identifier = '{{ article.slug }}';
|
||||
};
|
||||
(function() {
|
||||
var d = document;
|
||||
var s = d.createElement('script');
|
||||
s.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript class="text-muted">
|
||||
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
|
||||
</noscript>
|
||||
<hr>
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
var disqus_config = function() {
|
||||
this.page.url = '{{ SITEURL }}/{{ output_file }}';
|
||||
this.page.identifier = '{{ article.slug }}';
|
||||
};
|
||||
(function() {
|
||||
var d = document;
|
||||
var s = d.createElement('script');
|
||||
s.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript class="text-muted">
|
||||
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
|
||||
</noscript>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue