forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request barryclark#23 from pmarsceill/v0.2.0
v0.2.0 release
- Loading branch information
Showing
31 changed files
with
392 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ env: | |
|
||
install: | ||
- npm install | ||
- gem install bundler --version '>=1.17.1' | ||
- bundle install | ||
|
||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,44 @@ | ||
<nav> | ||
<ul class="navigation-list"> | ||
{% assign pages_list = site.html_pages | sort:"nav_order" %} | ||
{% for node in pages_list %} | ||
<li class="navigation-list-item{% if page.url == node.url %} active{% endif %} js-side-nav-item"> | ||
{% if node.parent == nil or node.has_children == true %} | ||
<a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url or (page.parent != nil and page.parent == node.parent) %} active{% endif %}">{{ node.title }}</a> | ||
{% if (node.has_children == true and node.parent == page.parent) %} | ||
{% assign children_list = site.html_pages | sort:"nav_order" %} | ||
<ul class="navigation-list-child-list"> | ||
{% for child in children_list %} | ||
{% if child.parent == node.parent and child.title != node.title %} | ||
<li class="navigation-list-item {% if page.url == child.url %} active{% endif %}"> | ||
<a href="{{ child.url | absolute_url }}" class="navigation-list-link{% if page.url == child.url %} active{% endif %}">{{ child.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% assign pages_list = site.html_pages | sort:"nav_order" %} | ||
{% for node in pages_list %} | ||
{% unless node.nav_exclude %} | ||
{% if node.parent == nil %} | ||
<li class="navigation-list-item{% if page.url == node.url or page.parent == node.title or page.grand_parent == node.title %} active{% endif %}"> | ||
{% if page.parent == node.title or page.grand_parent == node.title %} | ||
{% assign first_level_url = node.url | absolute_url %} | ||
{% endif %} | ||
<a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url %} active{% endif %}">{{ node.title }}</a> | ||
{% if node.has_children %} | ||
{% assign children_list = site.html_pages | sort:"nav_order" %} | ||
<ul class="navigation-list-child-list "> | ||
{% for child in children_list %} | ||
{% if child.parent == node.title %} | ||
<li class="navigation-list-item {% if page.url == child.url or page.parent == child.title %} active{% endif %}"> | ||
{% if page.url == child.url or page.parent == child.title %} | ||
{% assign second_level_url = child.url | absolute_url %} | ||
{% endif %} | ||
<a href="{{ child.url | absolute_url }}" class="navigation-list-link{% if page.url == child.url %} active{% endif %}">{{ child.title }}</a> | ||
{% if child.has_children %} | ||
{% assign grand_children_list = site.html_pages | sort:"nav_order" %} | ||
<ul class="navigation-list-child-list"> | ||
{% for grand_child in grand_children_list %} | ||
{% if grand_child.parent == child.title %} | ||
<li class="navigation-list-item {% if page.url == grand_child.url %} active{% endif %}"> | ||
<a href="{{ grand_child.url | absolute_url }}" class="navigation-list-link{% if page.url == grand_child.url %} active{% endif %}">{{ grand_child.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
{% endunless %} | ||
{% endfor %} | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
$body-background-color: $grey-dk-300; | ||
$sidebar-color: $grey-dk-300; | ||
$border-color: $grey-dk-200; | ||
|
||
$body-text-color: $grey-lt-300; | ||
$body-heading-color: $grey-lt-000; | ||
$nav-child-link-color: $grey-dk-000; | ||
|
||
$link-color: $blue-000; | ||
$btn-primary-color: $blue-200; | ||
$base-button-color: $grey-dk-250; | ||
|
||
$code-background-color: $grey-dk-250; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.