summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-20 15:55:36 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-20 15:55:36 +0200
commit2b38daafc25ff39a86821993c4aedcf2c327bc37 (patch)
tree739c009030ca5440c48b180fc058be30c42c8bb5 /_layouts/post.html
parentupdate links (diff)
downloadlumberjaph-2b38daafc25ff39a86821993c4aedcf2c327bc37.tar.gz
playing with HTML5
Diffstat (limited to '')
-rw-r--r--_layouts/post.html37
1 files changed, 7 insertions, 30 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index c79b965..1760051 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -2,34 +2,11 @@
layout: default
---
<div id="post">
- <h2><a href="{{ page.url }}">
- {{ page.title }}
- </a></h2>
- <div id="date">published {{ page.date | date_to_string }}</div>
- {{ content }}
+ <h2><a href="{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h2>
+ <article>
+ <div id="date">published <time datetime="{{ page.date }}" pubdate>{{ page.date | date_to_string }}</time></div>
+ {{ content }}
+ </article>
<hr />
- <div id="disqus">
-<div id="disqus_thread"></div>
-<script type="text/javascript">
- /**
- * var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
- */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://lumberjaph.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=lumberjaph">comments powered by Disqus.</a></noscript>
-<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
-<script type="text/javascript">
-var disqus_shortname = 'lumberjaph';
-(function () {
- var s = document.createElement('script'); s.async = true;
- s.src = 'http://disqus.com/forums/lumberjaph/count.js';
- (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
-}());
-</script>
-
- </div>
-</div> \ No newline at end of file
+ {% include disqus.html %}
+</div>