Add name to navbar unless on the main page

This commit is contained in:
Gergely Polonkai 2015-04-25 00:30:47 +02:00
parent 32dbbb4aea
commit 208f24e562

View File

@ -7,6 +7,9 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="{{'/' | prepend: site.baseurl}}"><img src="{{'/images/profile.svg' | prepend: site.baseurl}}" alt="Gergely Polonkai" style="background-color: white; height: 45px; margin-top: -13px;"></a> <a class="navbar-brand" href="{{'/' | prepend: site.baseurl}}"><img src="{{'/images/profile.svg' | prepend: site.baseurl}}" alt="Gergely Polonkai" style="background-color: white; height: 45px; margin-top: -13px;"></a>
{% if page.url != '/' %}
<a class="navbar-brand" href="{{'/' | prepend: site.baseurl}}">Gergely Polonkai</a>
{% endif %}
</div> </div>
<div class="collapse navbar-collapse" id="gp-navbar"> <div class="collapse navbar-collapse" id="gp-navbar">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">