mirror of
https://github.com/arsenetar/pelican-red.git
synced 2026-01-23 15:11:38 +00:00
Move utility templates to prefix '_', add footer utility templates.
Utility templates moved to have '_' prefix similar to how sass files are. Aditional templates for article and page footer contents now used to load comments etc.
This commit is contained in:
20
templates/_disqus.html
Normal file
20
templates/_disqus.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<section class="articleComments row hide-on-print">
|
||||
<div class="large-9 columns">
|
||||
<div id="disqus_thread"></div><!--
|
||||
<script type="text/javascript">
|
||||
var disqus_shortname = '{{ DISQUS_SN }}'; // required: replace example with your forum shortname
|
||||
var disqus_identifier = '{{ article.title }}_{{ article.date.isoformat() }}';
|
||||
var disqus_title = '{{ article.title }}';
|
||||
var disqus_url = '{{ SITEURL }}/{{ article.url }}';
|
||||
// var disques_category_id =''; // disqus catagory id number from disqus
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>-->
|
||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user