Changing sample content and dev tweaks

This commit is contained in:
David Darnes
2017-01-04 08:54:39 +00:00
parent 5f038463b4
commit 12117e65cc
10 changed files with 75 additions and 69 deletions
+1 -4
View File
@@ -1,4 +1 @@
<link rel="icon" type="image/png" href="{{ site.avatarurl }}?s=16" sizes="16x16">
<link rel="icon" type="image/png" href="{{ site.avatarurl }}?s=32" sizes="32x32">
<link rel="icon" type="image/png" href="{{ site.avatarurl }}?s=96" sizes="96x96">
<link rel="shortcut icon" href="{{ site.avatarurl }}">
<link rel="shortcut icon" href="{{ site.logo }}">
+7 -2
View File
@@ -1,9 +1,14 @@
<nav class="nav">
<ul class="list list--nav">
{% for item in site.pages %}
{% unless item.styles == true %}
{% unless item.styles == true or item.url contains "/page" or item.url == "/404.html" %}
<li class="item item--nav{% if item[1] == page.url %} item--current{% endif %}">
<a href="{{ item.url }}">{{ item.title }}</a>
{% if item.collectionpage %}
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
<a href="{{ item.url }}">{{ collectiondata.title }}</a>
{% else %}
<a href="{{ item.url }}">{{ item.title }}</a>
{% endif %}
</li>
{% endunless %}
{% endfor %}