diff options
author | rekado <rekado@elephly.net> | 2013-01-24 17:05:17 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-01-24 17:05:17 +0800 |
commit | f5f793124fe7ae9950b0fd9457374946b3b6c294 (patch) | |
tree | c9a96b01f6e9572acb702928e5d2426e449cef5f /templates/post.html |
use Hakyll instead of middleman
Diffstat (limited to 'templates/post.html')
-rw-r--r-- | templates/post.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..fd0c893 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,26 @@ +<h1>$title$</h1> +<div class="time">$date$</div> + +$photo-snippet$ +$body$ +$flattr-snippet$ +$license-snippet$ + +<p class="back"><a href="/posts">← other posts</a></p> + +<div id="disqus_thread"> + <script> + var loadComments = function() { + var el = document.getElementById("loadComments"); + el.parentNode.removeChild(el); + var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; + dsq.src = 'http://elephly.disqus.com/embed.js'; + (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); + }; + </script> +</div> +<a id="loadComments" href="javascript:loadComments()">Click to load Disqus comments</a> + +<noscript> + Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus</a>. +</noscript> |