brouilleursdeblanc/_includes/navigation.html

36 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2013-06-25 20:19:49 +00:00
<div class="navigation-wrapper">
<nav role="navigation" id="site-nav" class="animated drop">
2013-06-25 20:19:49 +00:00
<ul>
{% for link in site.data.navigation %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
{% endfor %}
2013-06-25 20:19:49 +00:00
</ul>
</nav>
</div><!-- /.navigation-wrapper -->
2013-09-11 18:49:04 +00:00
{% include browser-upgrade.html %}
{% if page.image.feature %}<header class="masthead">
{% if site.logo != null %}
<div class="wrap">
<a href="{{ site.url }}/" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInDown"></a>
</div>
{% endif %}
2013-07-30 13:53:12 +00:00
</header><!-- /.masthead -->
{% else %}<header class="masthead">
2013-07-30 13:53:12 +00:00
<div class="wrap">
{% if site.logo != null %}
<a href="{{ site.url }}/" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInDown"></a>
{% endif %}
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}/">{{ site.title }}</a></h1>
2013-07-30 13:53:12 +00:00
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
2013-06-25 20:19:49 +00:00
</div>
</header><!-- /.masthead -->{% endif %}
<div class="js-menu-screen menu-screen"></div>