diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 49 | ||||
| -rw-r--r-- | _layouts/page.html | 38 | ||||
| -rw-r--r-- | _layouts/post.html | 72 | ||||
| -rw-r--r-- | _layouts/static.html | 0 |
4 files changed, 91 insertions, 68 deletions
diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 3bd47db..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <title>{{ page.title }}</title> - - <meta name="author" content="Franck Cuny" /> - - <link href="/index.atom" rel="alternate" title="I'm a lumberjaph" type="application/atom+xml" /> - - <!--Homepage CSS--> - <link rel="stylesheet" href="/static/css/screen.css" media="screen, projection" /> - - <link href="/favicon.ico" rel="shortcut icon" /> - - <link rel="openid2.provider" href="http://www.google.com/accounts/o8/ud?source=profiles" /> - <link rel="openid2.local_id" href="http://www.google.com/profiles/franck.cuny" /> - - {% include analytics.html %} - - <link rel="me" href="http://twitter.com/franckcuny"> - <link rel="me" href="http://github.com/franckcuny"> - <link rel="me" href="http://www.linkedin.com/in/franckcuny"> -</head> - -<body> - -<div id="site"> - <div id="header"> - <h1> - <a href="/">I'm a lumberjaph and I'm OK.</a> - <span id="navigation"> - <a href="/about/">About</a> - <a href="/archives.html">Archives</a> - </span> - </h1> - </div> - - {{ content }} - - <footer> - <div id="footer"> - © 2008-2012 - <a href="/about/">Franck Cuny</a> - </footer> -</div> - -</body> -</html> diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..2ac2b93 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,38 @@ +<!doctype html> +<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> +<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> +<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> +<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]--> +<head> +{% include head.html %} +</head> + +<body id="page" itemscope itemtype="http://schema.org/WebPage"> + +{% include browser-upgrade.html %} +{% include navigation.html %} + +<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog"> + <article class="hentry" itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogpost"> + {% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}">{% endif %} + <div class="entry-wrapper"> + <header class="entry-header"> + <h1 class="entry-title" itemprop="headline">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}</h1>{% endif %} + </header> + <div class="entry-content"> + {{ content }} + </div><!-- /.entry-content --> + </div><!-- /.entry-wrapper --> + </article> +</div><!-- /#main --> + +<div class="footer-wrapper"> + <footer role="contentinfo"> + {% include footer.html %} + </footer> +</div><!-- /.footer-wrapper --> + +{% include scripts.html %} + +</body> +</html>
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 2b83f8a..6bf4aca 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,22 +1,56 @@ ---- -layout: default ---- +<!doctype html> +<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> +<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> +<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> +<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]--> +<head> +{% include head.html %} +</head> -<div id="content"> - <div id="page"> - <h1 class="emphnext"> - <a href="{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a> - <span class="post-date">{{ page.date | date_to_string }}<span> - </h1> +<body id="post" itemscope itemtype="http://schema.org/WebPage"> - <article> - {{ content }} - </article> +{% include browser-upgrade.html %} +{% include navigation.html %} - <div id="pagination"> - <a href="/">Home</a> - | - <a href="/archives.html">Archives</a> - </div> - </div> -</div> +<div id="main" role="main" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog"> + <article class="hentry" itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogpost"> + {% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}">{% endif %} + <div class="entry-wrapper"> + <header class="entry-header"> + <span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags.html#{{ tag | cgi_encode }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}</span> + <h1 class="entry-title" itemprop="headline">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %}</h1> + </header> + <footer class="entry-meta"> + <img src="{{ site.url }}/images/{{ site.owner.avatar }}" alt="{{ site.owner.name }} photo" class="author-photo"> + <span class="author vcard" itemprop="author" itemscope itemtype="http://schema.org/Person">By <span itemprop="name" class="fn"><a href="{{ site.url }}/about" title="About {{ site.owner.name }}" itemprop="url">{{ site.owner.name }}</a></span></span> + <span class="entry-date date published"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"><i class="icon-calendar-empty"></i> {{ page.date | date: "%B %d, %Y" }}</time></span> + {% if page.modified %}<span class="entry-date date modified"><time datetime="{{ page.modified }}" itemprop="dateModified"><i class="icon-pencil"></i> {{ page.modified | date: "%B %d, %Y" }}</time></span>{% endif %} + {% if site.disqus_shortname and page.comments %}<span class="entry-comments"><i class="icon-comment-alt"></i> <a href="#disqus_thread">Comment</a></span>{% endif %} + <span><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}"><i class="icon-link"></i> Permalink</a></span> + </footer> + <div class="entry-content"> + {{ content }} + {% if site.disqus_shortname and page.comments %}<div id="disqus_thread"></div><!-- /#disqus_thread -->{% endif %} + </div><!-- /.entry-content --> + </div><!-- /.entry-wrapper --> + <nav class="pagination" role="navigation"> + {% if page.previous %} + <a href="{{ site.url }}{{ page.previous.url }}" class="btn" title="{{ page.previous.title }}">Previous article</a> + {% endif %} + {% if page.next %} + <a href="{{ site.url }}{{ page.next.url }}" class="btn" title="{{ page.next.title }}">Next article</a> + {% endif %} + </nav><!-- /.pagination --> + </article> +</div><!-- /#main --> + +<div class="footer-wrapper"> + <footer role="contentinfo"> + {% include footer.html %} + </footer> +</div><!-- /.footer-wrapper --> + +{% include scripts.html %} + +</body> +</html> diff --git a/_layouts/static.html b/_layouts/static.html deleted file mode 100644 index e69de29..0000000 --- a/_layouts/static.html +++ /dev/null |
