-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed Navigation CSS a bit - looks better now
- Loading branch information
1 parent
8842cfe
commit 8f92ae4
Showing
4 changed files
with
170 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,39 @@ | ||
<div id="navigation"> | ||
|
||
<div class="container"> | ||
{% assign pages_by_dir = (site.html_pages | group_by:"dir" %} | ||
{% assign rootpages = (site.html_pages | where:"dir", "/" | sort:"order" ) %} | ||
|
||
{% assign pages_by_dir = (site.html_pages | group_by:"dir" %} | ||
{% assign rootpages = (site.html_pages | where:"dir", "/" | sort:"order" ) %} | ||
<ul> | ||
{% for p in rootpages %} | ||
|
||
{% for p in rootpages %} | ||
{% if p.used_in_navigation != null && p.used_in_navigation == true %} | ||
{% assign menu_name = p.menu_name %} | ||
{% if menu_name == null %} | ||
{% assign menu_name = p.title %} | ||
{% endif %} | ||
|
||
{% if p.used_in_navigation != null && p.used_in_navigation == true %} | ||
{% assign menu_name = p.menu_name %} | ||
{% if menu_name == null %} | ||
{% assign menu_name = p.title %} | ||
{% endif %} | ||
<li><a href="{{ p.url || relative_url}}">{{ menu_name }}</a> | ||
|
||
<div class="navitem"><a href="{{ p.url || relative_url}}">{{ menu_name }} </a></div> | ||
{% endif %} | ||
<ul> | ||
<a href="#"><li>Tag 1</li></a> | ||
<a href="#"><li>Tag 2</li></a> | ||
<a href="#"><li>Tag 3</li></a> | ||
<a href="#"><li>Tag 4</li></a> | ||
<a href="#"><li>Tag 5</li></a> | ||
</ul> | ||
|
||
{% endfor %} | ||
</li> | ||
{% endif %} | ||
|
||
<div class="navitem"><a href="{{ '/assets/javadoc/0.4.1-SNAPSHOT/index.html' | relative_url }}">API</a></div> | ||
{% endfor %} | ||
|
||
<li><a href="{{ '/assets/javadoc/0.4.1-SNAPSHOT/index.html' | relative_url }}">API</a></li> | ||
|
||
|
||
</ul> | ||
|
||
|
||
<div class="clearfloat"></div> | ||
</div> | ||
|
||
</div> |
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,8 @@ | ||
--- | ||
title: Documentation | ||
used_in_navigation: true | ||
isSection: true | ||
menu_name: Documentation | ||
order: 50 | ||
toc: | ||
--- |
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,8 @@ | ||
--- | ||
title: Examples | ||
used_in_navigation: true | ||
isSection: true | ||
menu_name: Examples | ||
order: 60 | ||
toc: | ||
--- |