mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
Fixed bug for external not being handled in navigation bar
This commit is contained in:
parent
d0b5f971eb
commit
151295a93e
1 changed files with 8 additions and 2 deletions
|
@ -2,7 +2,13 @@
|
|||
<nav role="navigation" id="site-nav" class="animated drop" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
||||
<ul>
|
||||
{% for link in site.links %}
|
||||
<li><a href="{{ site.url }}{{ link.url }}">{{ link.title }}</a></li>
|
||||
<li>
|
||||
{% if link.external %}
|
||||
<a href="{{ link.url }}">{{ link.title }}</a>
|
||||
{% else %}
|
||||
<a href="{{ site.url }}{{ link.url }}">{{ link.title }}</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><a href="{{ site.url }}/feed.xml" title="Atom/RSS feed"><i class="icon-rss"></i> Feed</a>
|
||||
</ul>
|
||||
|
@ -20,4 +26,4 @@
|
|||
<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 %}
|
||||
</header><!-- /.masthead -->{% endif %}
|
||||
|
|
Loading…
Reference in a new issue