forked from github/pelican
Add support for skribit widget. WARNING : NOT TESTED.
This commit is contained in:
parent
e43d660733
commit
68f8826ecf
2 changed files with 9 additions and 0 deletions
|
|
@ -54,6 +54,7 @@
|
|||
</ul>
|
||||
</div><!-- /.blogroll -->
|
||||
{% endif %}
|
||||
{% include 'skribit_widget_script.html' %}
|
||||
{% if SOCIAL %}
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
{% if SKRIBIT_TYPE == 'WIDGET' and SKRIBIT_WIDGET_ID %}
|
||||
<div id="writeSkribitHere"></div>
|
||||
<script src="http://assets.skribit.com/javascripts/SkribitWidget.js?renderTo=writeSkribitHere&blog={{ SKRIBIT_WIDGET_ID }}&cnt=5"></script>
|
||||
<noscript>Sorry, but the
|
||||
<a href="http://skribit.com" title="Skribit - Cure Writer's Block">Skribit</a> widget only works on browsers with JavaScript support.
|
||||
<a href="http://skribit.com/blogs/think-different-think-open" title="Skribit Suggestions for Think Different, Think Open">View suggestions for this blog here.</a>
|
||||
</noscript>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue