_includes/header.html in devlopr-0.3.5 vs _includes/header.html in devlopr-0.3.6
- old
+ new
@@ -5,10 +5,11 @@
<div class="col-md-2 center">
<a href="/">
<img src="/assets/img/{{ site.author_logo }}" class="profile-img">
</a>
</div>
+
<div class="col-md-4">
<h1 class="profile-name"> {{ site.title }}</h1>
<p class="profile-bio"> {{ site.subtitle }}</p>
<p class="profile-links">
<a class="social-link" href="http://twitter.com/{{ site.twitter_username }}">
@@ -37,20 +38,28 @@
</a>
</p>
</div>
<div class="col-md-6 center">
-
+
<ul class="nav justify-content-end" id="navigation">
+ {% for item in site.menus.header %}
+ <li class="nav-item menu-item-{{ loop.index }}">
+ <a class="nav-link" href="{{ item.url }}" title="Go to {{ item.title }}">{{ item.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+
+ <!-- <ul class="nav justify-content-end" id="navigation">
{%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths = site.header_pages | default: default_paths-%}
{%- if page_paths -%} {%- for path in page_paths -%} {%- assign my_page = site.pages | where: "path",path
| first -%} {%- if my_page.title -%}
<li class="nav-item">
<a class="nav-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
</li>
{%- endif -%} {%- endfor -%}
- </ul>
+ </ul> -->
{%- endif -%}
</div>
</div>
\ No newline at end of file