add type attribute to script tag
[software/elephly-net.git] / templates / post.html
1 <h1>$title$</h1>
2 <div class="time">$date$</div>
3
4 $photo-snippet$
5 $body$
6 $flattr-snippet$
7 $license-snippet$
8
9 <p class="back"><a href="/posts">&larr; other posts</a></p>
10
11 <div id="disqus_thread">
12 <script type="text/javascript">
13 var loadComments = function() {
14 var el = document.getElementById("loadComments");
15 el.parentNode.removeChild(el);
16 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
17 dsq.src = 'http://elephly.disqus.com/embed.js';
18 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
19 };
20 </script>
21 </div>
22 <a id="loadComments" href="javascript:loadComments()">Click to load Disqus comments</a>
23
24 <noscript>
25 Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus</a>.
26 </noscript>