Skip to content

Commit

Permalink
Corrected the root path for categories
Browse files Browse the repository at this point in the history
  • Loading branch information
manikmagar committed Jul 4, 2016
1 parent e8299cd commit b192546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jbake/app/Renderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public int renderCategories(Set<String> categories, String categoriesPath) throw
model.put("renderer", renderingEngine);
model.put(Attributes.CATEGORY, category);
Map<String, Object> map = buildSimpleModel(Attributes.CATEGORY);
map.put(Attributes.ROOTPATH, "../");
map.put(Attributes.ROOTPATH, "../../");
model.put("content", map);

String pathCategory = category.trim().replace(" ", "-");
Expand Down

0 comments on commit b192546

Please sign in to comment.