Skip to content

Commit 4e81a47

Browse files
committed
finally got display of wiki articles working
1 parent 894ce01 commit 4e81a47

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

_config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ first_published: 2000
1212
email: biojava-l@biojava.org
1313
baseurl: "" # the subpath of your site, e.g. /blog
1414
url: "http://biojava.org" # the base hostname & protocol for your site
15+
google_analytics: UA-1326640-1
1516
social:
1617
#twitter: https://twitter.com/<username>
1718
github: https://github.com/biojava
@@ -63,5 +64,8 @@ release:
6364
version: 4.2.0
6465

6566
collections:
66-
- wikis
67-
67+
wikis :
68+
output: true
69+
permalink: /wikis/:path/
70+
post_dirs: false
71+
File renamed without changes.

wiki.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@
77

88
<p>The following pages have been imported from the legacy mediawiki instance</p>
99

10-
{% for my_page in site.wikis.pages %}
10+
{% for my_page in site.wikis %}
1111
<p>
1212
<ul>
1313
<li>
14-
<a href="{{ my_page.url }}">{{ my_page.title }}</a>
14+
{{ my_page.categories }} <a href="{{ site.baseurl }}{{ my_page.url }}">{{ my_page.title }}</a>
15+
1516
</li>
1617
</ul>
1718
</p>
1819

19-
{% endfor %}
20+
{% endfor %}
2021

2122

2223

0 commit comments

Comments
 (0)