post.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!doctype html>
  2. <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="fr"> <![endif]-->
  3. <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="fr"><![endif]-->
  4. <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="fr"><![endif]-->
  5. <!--[if gt IE 8]><!--> <html class="no-js" lang="fr"><!--<![endif]-->
  6. <head>
  7. {% include _head.html %}
  8. </head>
  9. <body class="post">
  10. {% include _browser-upgrade.html %}
  11. {% include _navigation.html %}
  12. {% if page.image.feature %}
  13. <div class="image-wrap">
  14. <img src=
  15. {% if page.image.feature contains 'http' %}
  16. "{{ page.image.feature }}"
  17. {% else %}
  18. "{{ site.url }}/images/{{ page.image.feature }}"
  19. {% endif %}
  20. alt="{{ page.title }} feature image">
  21. {% if page.image.credit %}
  22. <span class="image-credit">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></span>
  23. {% endif %}
  24. </div><!-- /.image-wrap -->
  25. {% endif %}
  26. <div id="main" role="main">
  27. <div class="article-author-side">
  28. {% include _author-bio.html %}
  29. </div>
  30. <article class="post">
  31. <div class="headline-wrap">
  32. {% if page.link %}
  33. <h1><a href="{{ page.link }}">{{ page.title }}</a></h1>
  34. {% else %}
  35. <h1><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
  36. {% endif %}
  37. </div><!--/ .headline-wrap -->
  38. <div class="article-wrap">
  39. {{ content }}
  40. <hr />
  41. <footer role="contentinfo">
  42. {% if page.share != false %}{% include _social-share.html %}{% endif %}
  43. <p class="byline"><strong>{{ page.title }}</strong> was published on <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time>{% if page.modified %} and last modified on <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time>{% endif %}.</p>
  44. </footer>
  45. </div><!-- /.article-wrap -->
  46. {% if site.owner.disqus-shortname and page.comments == true %}
  47. <section id="disqus_thread"></section><!-- /#disqus_thread -->
  48. {% endif %}
  49. </article>
  50. </div><!-- /#main -->
  51. <div class="footer-wrap">
  52. {% if site.related_posts.size > 0 %}
  53. <div class="related-articles">
  54. <h4>You might also enjoy <small class="pull-right">(<a href="{{ site.url }}/posts/">View all posts</a>)</small></h4>
  55. <ul>
  56. {% for post in site.related_posts limit:3 %}
  57. <li><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
  58. {% endfor %}
  59. </ul>
  60. <hr />
  61. </div><!-- /.related-articles -->
  62. {% endif %}
  63. <footer>
  64. {% include _footer.html %}
  65. </footer>
  66. </div><!-- /.footer-wrap -->
  67. {% include _scripts.html %}
  68. </body>
  69. </html>