mirror of
https://github.com/arsenetar/pelican-red.git
synced 2026-01-23 15:11:38 +00:00
Initial Templates
Adds Initial base template and article templates along with the analytics templates and Disqus comments template. Additional template files created with just extends base to act as reminders to finish.
This commit is contained in:
21
templates/disqus.html
Normal file
21
templates/disqus.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<section class="articleComments row hide-on-print">
|
||||
<div class="large-9 columns">
|
||||
<div id="disqus_thread"></div><!--
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||
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