Fixes to default nav
This commit is contained in:
parent
4f95c0a11c
commit
17647951fa
@ -1,7 +1,7 @@
|
|||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
<ul class="list list--nav">
|
<ul class="list list--nav">
|
||||||
{% for item in site.pages %}
|
{% for item in site.pages %}
|
||||||
{% unless item.url contains ".css" or item.url contains "/page" or item.url contains "/404.html" %}
|
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %}
|
||||||
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
||||||
{% if item.collectionpage %}
|
{% if item.collectionpage %}
|
||||||
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
styles: true
|
title: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ source "https://rubygems.org"
|
|||||||
gem "jekyll", "~> 3.3"
|
gem "jekyll", "~> 3.3"
|
||||||
|
|
||||||
# The theme for the site
|
# The theme for the site
|
||||||
gem "garth-jekyll-theme", "~> 0.4"
|
gem "garth-jekyll-theme", "~> 0.5"
|
||||||
|
|
||||||
# The plugins for the site
|
# The plugins for the site
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "garth-jekyll-theme"
|
spec.name = "garth-jekyll-theme"
|
||||||
spec.version = "0.4.1"
|
spec.version = "0.5.0"
|
||||||
spec.authors = ["David Darnes"]
|
spec.authors = ["David Darnes"]
|
||||||
spec.email = ["me@daviddarnes.com"]
|
spec.email = ["me@daviddarnes.com"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user