brouilleursdeblanc/_layouts/post.html

71 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2013-06-25 20:19:49 +00:00
<!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="post">
2013-06-25 20:19:49 +00:00
{% include navigation.html %}
<div id="main" role="main">
<article class="hentry">
2015-03-03 18:01:21 +00:00
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" {% if site.logo == null %}style="margin-top:0;"{% endif %}>{% if page.image.credit %}<p class="image-credit">Image credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></p>{% endif %}{% endif %}
2013-06-25 20:19:49 +00:00
<div class="entry-wrapper">
2013-06-26 02:34:15 +00:00
<header class="entry-header">
2014-06-11 17:43:08 +00:00
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags/#{{ tag }}" title="Pages tagged {{ tag }}">{{ tag }}</a>{% unless forloop.last %}&nbsp;&bull;&nbsp;{% endunless %}{% endfor %}</span>
2013-08-12 17:24:39 +00:00
{% if page.link %}
<h1 class="entry-title"><a href="{{ page.link }}">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %} <span class="link-arrow">&rarr;</span></a></h1>
2013-08-12 17:24:39 +00:00
{% else %}
<h1 class="entry-title">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %}</h1>
2013-08-12 17:24:39 +00:00
{% endif %}
2013-06-25 20:19:49 +00:00
</header>
<footer class="entry-meta">
{% if page.author %}
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
{% endif %}
{% if author.avatar contains 'http' %}
2015-07-11 11:42:10 +00:00
<!-- <img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo"></a> -->
{% else %}
2015-07-11 11:42:10 +00:00
<!-- <img src="{{ site.url }}/images/{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo"></a> -->
{% endif %}
<span class="author vcard">By <span class="fn">{{ author.name }}</span></span>
<span class="entry-date date published"><time datetime="{{ page.date | date_to_xmlschema }}"><i class="fa fa-calendar-o"></i> {{ page.date | date: "%B %d, %Y" }}</time></span>
{% if page.modified %}<span class="entry-date date modified"><time datetime="{{ page.modified }}"><i class="fa fa-pencil"></i> {{ page.modified | date: "%B %d, %Y" }}</time></span>{% endif %}
{% if (site.owner.disqus-shortname and page.comments) or site.comments %}<span class="entry-comments"><i class="fa fa-comment-o"></i> <a href="#disqus_thread">Comment</a></span>{% endif %}
{% if page.share %}{% include social-share.html %}{% endif %}
{% if page.ads == true %}{% include ad-sidebar.html %}<!-- /.google-ads -->{% endif %}
2013-06-25 20:19:49 +00:00
</footer>
<div class="entry-content">
2013-06-25 20:19:49 +00:00
{{ content }}
{% if (site.owner.disqus-shortname and page.comments) or site.comments %}
<div id="disqus_thread"></div><!-- /#disqus_thread -->
{% include disqus-comments.html %}
{% endif %}
2013-06-25 20:19:49 +00:00
</div><!-- /.entry-content -->
</div><!-- /.entry-wrapper -->
2014-09-04 02:50:25 +00:00
<nav class="pagination" role="navigation">
{% if page.previous %}
<a href="{{ site.url }}{{ page.previous.url }}" class="btn" title="{{ page.previous.title }}">Previous</a>
{% endif %}
{% if page.next %}
<a href="{{ site.url }}{{ page.next.url }}" class="btn" title="{{ page.next.title }}">Next</a>
{% endif %}
</nav><!-- /.pagination -->
2013-06-25 20:19:49 +00:00
</article>
</div><!-- /#main -->
<div class="footer-wrapper">
2014-09-03 15:46:41 +00:00
<footer role="contentinfo" class="entry-wrapper">
2013-06-25 20:19:49 +00:00
{% include footer.html %}
</footer>
</div><!-- /.footer-wrapper -->
2015-03-03 18:01:21 +00:00
{% include scripts.html %}
2013-06-25 20:19:49 +00:00
</body>
</html>