doc/reference_website_styles.page in webgen-0.5.8 vs doc/reference_website_styles.page in webgen-0.5.9
- old
+ new
@@ -15,13 +15,13 @@
the respective website style. You can then return to this list by using the *back button* of your
browser:
<%
context.content_node.tree.node_access[:alcn].select do |name, node|
- node.is_directory? && node.parent == context.content_node.tree[File.join(context.content_node.parent.absolute_lcn, '/website_styles')]
+ node.is_directory? && node.parent == context.content_node.tree[File.join(context.content_node.parent.alcn, '/website_styles/')]
end.sort.each do |name, node|
%>
-<h2 id="<%= node.cn %>"><%= node.cn %></h2>
+<h2 id="<%= node.cn.chomp('/') %>"><%= node.cn %></h2>
<div class="website-styles">
<%= context.dest_node.link_to(node, :link_text => "Full window version") %>
<object type="text/html" data="<%= context.dest_node.route_to(node) %>">Nothing</object>
</div>
<% end %>