bliper

static html page generation in perl
git clone git://git.2f30.org/bliper
Log | Files | Refs | README | LICENSE

commit 9d79bcc35a942b072ab737da1a15aba4f170b621
parent 53bd8e10d482d67e9f4be6dd49855c9cf160bf55
Author: cipher <haris@2f30.org>
Date:   Wed, 27 Nov 2013 01:53:45 +0200

added disqus support on pages

Diffstat:
Mtemplate/page-bottom | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/template/page-bottom b/template/page-bottom @@ -1,6 +1,21 @@ <a href="#start"><p class="upstart">^</p></a> </div> <!-- container end --> <hr> +<!-- uncomment to use disqus. Remember to change <example> to shortname +<div id="disqus_thread"></div> +<script type="text/javascript"> + /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ + var disqus_shortname = '<example>'; // Required - Replace example with your forum shortname + + /* * * 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> + disqus --> <footer>Made with vim and generated by Perl in bliper.</footer> </body> </html>