diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-20 15:55:36 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-20 15:55:36 +0200 |
| commit | 2b38daafc25ff39a86821993c4aedcf2c327bc37 (patch) | |
| tree | 739c009030ca5440c48b180fc058be30c42c8bb5 /_layouts | |
| parent | update links (diff) | |
| download | lumberjaph-2b38daafc25ff39a86821993c4aedcf2c327bc37.tar.gz | |
playing with HTML5
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 41 | ||||
| -rw-r--r-- | _layouts/post.html | 37 |
2 files changed, 29 insertions, 49 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 0bff272..283b40c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,19 +1,18 @@ <!DOCTYPE html> -<html> +<html lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - <meta content="en-us" http-equiv="Content-Language" /> + <meta charset="utf-8" /> <title>{{ page.title }}</title> <meta name="author" content="franck cuny" /> <link href="http://feeds.feedburner.com/ImALumberjaph" rel="alternate" title="I'm a lumberjaph" type="application/atom+xml" /> - <!-- syntax highlighting CSS --> - <link rel="stylesheet" href="/static/css/syntax.css" type="text/css" /> + <!--syntax highlighting CSS--> + <link rel="stylesheet" href="/static/css/syntax.css" /> - <!-- Homepage CSS --> - <link rel="stylesheet" href="/static/css/screen.css" type="text/css" media="screen, projection" /> + <!--Homepage CSS--> + <link rel="stylesheet" href="/static/css/screen.css" media="screen, projection" /> - <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" /> + <link href="/favicon.ico" rel="shortcut icon" /> <link rel="openid.server" href="http://franckcuny.myopenid.com/" /> <link rel="openid2.provider" href="http://franckcuny.myopenid.com/" /> {% include analytics.html %} @@ -21,17 +20,20 @@ <body> <div class="site"> - <div class="title"> - <a href="/">I'm a lumberjaph</a> - <a class="extra" href="/">home</a> - <a class="extra" href="/archives.html">archives</a> - <a class="extra" href="/about/">about</a> - <a class="extra" href="/talks/">talks</a> - <a class="extra" href="/contact/">contact</a> - </div> - + <nav> + <div class="title"> + <a href="/">I'm a lumberjaph</a> + <a class="extra" href="/">home</a> + <a class="extra" rel="archives" href="/archives.html">archives</a> + <a class="extra" rel="author" href="/about/">about</a> + <a class="extra" href="/talks/">talks</a> + <a class="extra" href="/contact/">contact</a> + </div> + </nav> + {{ content }} - + + <footer> <div class="footer"> <div class="contact"> <p> @@ -46,11 +48,12 @@ </p> </div> <div class="rss"> - <a href="http://lumberjaph.net/index.atom"> + <a href="http://feeds.feedburner.com/ImALumberjaph"> <img src="/static/imgs/rss.png" alt="Subscribe to RSS Feed" /> </a> </div> </div> + </footer> </div> </body> 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> |
