brouilleursdeblanc/_includes/navigation.html

38 lines
1.7 KiB
HTML
Raw 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 %}
{% if site.search %}<li class="dosearch"><span><i class="fa fa-search"></i> Search</span></li>{% endif %}
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 site.search %}{% include site-search.html %}{% endif %}
2013-09-11 16:12:08 +00:00
{% 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 bounceInDown"></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 fadeInUp"></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>