mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
e711f8b839
- Cleanup _config.yml - Move navigation and author info to data files - Convert .less stylesheets to .scss - Update documentation - Include Octopress gem for new post/page creation
76 lines
4.4 KiB
HTML
76 lines
4.4 KiB
HTML
<!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">
|
|
|
|
{% include navigation.html %}
|
|
|
|
<div id="main" role="main">
|
|
<article class="hentry">
|
|
{% 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">Photo Credit: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a>{% endif %}{% endif %}
|
|
<div class="entry-wrapper">
|
|
<header class="entry-header">
|
|
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags/#{{ tag }}" title="Pages tagged {{ tag }}">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}</span>
|
|
{% if page.link %}
|
|
<h1 class="entry-title"><a href="{{ page.link }}">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %} <span class="link-arrow">→</span></a></h1>
|
|
{% else %}
|
|
<h1 class="entry-title">{% if page.headline %}{{ page.headline }}{% else %}{{ page.title }}{% endif %}</h1>
|
|
{% endif %}
|
|
</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' %}
|
|
<img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo"></a>
|
|
{% else %}
|
|
<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="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 }}"><i class="icon-pencil"></i> {{ page.modified | date: "%B %d, %Y" }}</time></span>{% endif %}
|
|
{% if site.owner.disqus-shortname and page.comments == true %}<span class="entry-comments"><i class="fa fa-comment-o"></i> <a href="#disqus_thread">Comment</a></span>{% endif %}
|
|
{% if page.share %}
|
|
<span class="social-share-twitter">
|
|
<a href="https://twitter.com/intent/tweet?hashtags={{ page.tags | join: ',' | remove: ' ' }}&text={{ page.title | escape | replace:' ','%20' }}&url={{ site.url }}{{ page.url }}{% if author.twitter %}&via={{ author.twitter }}{% endif %}" title="Share on Twitter" itemprop="Twitter"><i class="fa fa-twitter-square"></i> Tweet</a>
|
|
</span>
|
|
<span class="social-share-facebook">
|
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ site.url }}{{ page.url }}" title="Share on Facebook" itemprop="Facebook"><i class="fa fa-facebook-square"></i> Like</a>
|
|
</span>
|
|
<span class="social-share-googleplus">
|
|
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google Plus" itemprop="GooglePlus"><i class="fa fa-google-plus-square"></i> +1</a>
|
|
</span>
|
|
<!-- /.social-share -->{% endif %}
|
|
</footer>
|
|
<div class="entry-content">
|
|
{{ content }}
|
|
<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 -->
|
|
{% if site.owner.disqus-shortname and page.comments == true %}<div id="disqus_thread"></div><!-- /#disqus_thread -->{% endif %}
|
|
</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>
|