Skip to content

Commit de02c20

Browse files
committed
Fix jekyll bug in page template
- Fix a bug in page.html causing warnings from liquid on non-pages - Display tags, in addition to categories - Add biojava legacy version variable
1 parent f0db89d commit de02c20

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ kramdown:
7171

7272
# Release settings
7373
release:
74-
version: 4.2.1
74+
version: 4.2.0
75+
legacy: 1.9.1
7576

7677
collections:
7778
wikis :
@@ -86,4 +87,3 @@ defaults:
8687
path: "" # empty string for all files
8788
values:
8889
layout: page
89-

_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<header>
77
<h2>{{ page.title }}</h2>
8-
<p>{{ page.categories | join ' ' }}</p>
8+
<p>{{ page.categories | join: ' ' }} {{ page.tags | join: ' ' }}</p>
99
</header>
1010

1111
<section class="wrapper style5">

_wikis/BioJava_GetStarted.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can get the latest version of BioJava3+ from the download page
2020

2121
You can get the latest version of BioJava-legacy (a.k.a. BioJava1) from
2222
the download page [BioJava1 (v) (requires Java
23-
1.5+)](/wikis/BioJava:Download_{{current version legacy}} "wikilink").
23+
1.5+)](/wikis/BioJava:Download_{{site.release.legacy}} "wikilink").
2424

2525
You can also integrate BioJava with NetBeans IDE. To find out how follow
2626
this [link](/wikis/How_to_integrate_BioJava_in_NetBeans_IDE "wikilink").
@@ -41,17 +41,17 @@ BioJava, as of release 4.0.0 is available through Maven Central.
4141
You can add the BioJava repository by adding the following XML to your
4242
project pom.xml file:
4343

44-
44+
4545
<dependencies>
4646
...
4747
<dependency>
4848
<groupId>org.biojava</groupId>
4949
<artifactId>biojava-core</artifactId>
50-
<version>4.2.0</version>
50+
<version>{{site.release.version}}</version>
5151
</dependency>
5252
<!-- other biojava jars as needed -->
5353
</dependencies>
54-
54+
5555

5656
Installation
5757
------------

_wikis/BioJava_GetStartedLegacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ available on many other platforms: if in doubt, contact your vendor.
3737
BioJava binaries are distributed in .jar (Java ARchive) format.
3838

3939
You can get the latest version from the download page [BioJava (requires
40-
Java 1.5+)](/wikis/BioJava:Download_{{current version legacy}} "wikilink").
40+
Java 1.5+)](/wikis/BioJava:Download_{{site.release.legacy}} "wikilink").
4141

4242
You can also integrate BioJava with NetBeans IDE. To find out how follow
4343
this [link](How_to_integrate_BioJava_in_NetBeans_IDE "wikilink").

0 commit comments

Comments
 (0)