mirror of
https://github.com/arsenetar/pelican-red.git
synced 2024-11-22 19:29:02 +00:00
Andrew Senetar
b7efae362c
The templates in this commit are now in RC form. Everything but the article templates are ready. Changes include ( no limited to ): - Update stylesheet - Add method in app.js to handle images in documents - Create _author_item.html to display author information and vcard - Update _disqus.html to fit in with site style - Update _page_footer.html for translation support - Add _pagination.html for pagination support - Add _translations.html for translation listing support - Minor updates to archives.html, tags.html - Update base.html to have more flexibility - Update authors.html and author.html to display information - Update category.html and categories.html to use the _list_item.html - Update page translation support + misc - Update tag.html to use _list_item.html
19 lines
1.1 KiB
HTML
19 lines
1.1 KiB
HTML
{% set item = article|default(page) %}
|
|
<div id="disqus_thread">
|
|
<script type="text/javascript">
|
|
var disqus_shortname = '{{DISQUS_SN}}'; // required: replace example with your forum shortname
|
|
var disqus_identifier = '{{ item.title }}{{ '-'+item.date.isoformat() if item.date else ''}}';
|
|
var disqus_title = '{{ item.title }}';
|
|
var disqus_url = '{{ SITEURL }}/{{ item.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>
|