mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-23 17:16:03 +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
36 lines
1.6 KiB
HTML
36 lines
1.6 KiB
HTML
<div class="navigation-wrapper">
|
|
<nav role="navigation" id="site-nav" class="animated drop">
|
|
<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"><i class="fa fa-search"></i> Search</li>{% endif %}
|
|
</ul>
|
|
</nav>
|
|
</div><!-- /.navigation-wrapper -->
|
|
|
|
{% include browser-upgrade.html %}
|
|
|
|
{% if site.search %}{% include site-search.html %}{% endif %}
|
|
|
|
{% 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 %}
|
|
</header><!-- /.masthead -->
|
|
{% else %}<header class="masthead">
|
|
<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>
|
|
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
|
|
</div>
|
|
</header><!-- /.masthead -->{% endif %}
|