Skip to content

Commit 29d8353

Browse files
committed
Update menu
1 parent 2f7218d commit 29d8353

File tree

7 files changed

+30
-338
lines changed

7 files changed

+30
-338
lines changed

404.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: page
3+
permalink: /404.html
34
title: 404 Page Not Found
45
---
56
<script>
@@ -8,7 +9,7 @@
89
{% for post in site.pages %}
910
allposts.push("{{ post.url }}");
1011
{% endfor %}
11-
{% for post in site.wiki %}
12+
{% for post in site.wiki %}
1213
allposts.push("{{ post.url }}");
1314
{% endfor %}
1415
var url = window.location.pathname;

_includes/header.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@ <h1><a href="{{ site.baseurl }}/index.html"><img src="{{ site.baseurl }}/images/
88
<div id="menu">
99
<ul>
1010
<li><a href="index.html">Home</a></li>
11-
{% for my_page in site.pages %}
12-
{% if my_page.title %}
13-
<li>{{ my_page.categories | join ' ' }}<a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
14-
{% endif %}
15-
{% endfor %}
16-
17-
<li><a href="https://github.com/login">Log In</a></li>
11+
<li><a href="https://github.com/biojava/biojava">Github</a></li>
12+
{% for my_page in site.pages %}
13+
{% if my_page.title and my_page.menu == 'main' %}
14+
<li>{{ my_page.categories | join ' ' }}<a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
15+
{% endif %}
16+
{% endfor %}
17+
{% for my_page in site.wiki %}
18+
{% if my_page.title and my_page.menu %}
19+
<li>{{ my_page.categories | join ' ' }}<a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
20+
{% endif %}
21+
{% endfor %}
22+
<li><a href="{{ "/docs/api4.2.1/index.html" | prepend: side.baseurl }}">Javadoc API (4.2.1)</a></li>
23+
<li><a href="{{ "/docs/api1.9.1/index.html" | prepend: side.baseurl }}">Javadoc API (1.9.1)</a></li>
1824
<li><a href="{{ "/feed.xml" | prepend: site.baseurl }}"
19-
class="icon fa-feed"> RSS Feed</a></li>
25+
class="icon fa-feed"> RSS Feed</a></li>
2026
</ul>
2127
</div>
2228
</li>

_wiki/BioJava_CookBook4.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: BioJava:CookBook4.0
33
permalink: wiki/BioJava%3ACookBook4.0/
4+
menu: main
45
---
56

67
BioJava Cookbook for release 4.\*

_wiki/BioJava_Tutorial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: BioJava:Tutorial
33
permalink: wiki/BioJava%3ATutorial
4+
menu: main
45
---
56

67
BioJava 4 tutorial:

elements.html

Lines changed: 0 additions & 305 deletions
This file was deleted.

generic.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)