Nice breadcrumb
This commit is contained in:
parent
9af26e1da6
commit
fd361090b4
1 changed files with 8 additions and 6 deletions
|
@ -27,13 +27,15 @@
|
||||||
- @page.children.each do |page|
|
- @page.children.each do |page|
|
||||||
%li= link_to_wikipage(page)
|
%li= link_to_wikipage(page)
|
||||||
|
|
||||||
#breadcrump
|
%ul.breadcrumb
|
||||||
|
%li
|
||||||
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
|
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
|
||||||
|
%span.divider /
|
||||||
- for page in @page.ancestors.reverse
|
- for page in @page.ancestors.reverse
|
||||||
%span.wikiSeparator >
|
%li
|
||||||
= link_to_wikipage(page)
|
= link_to_wikipage(page)
|
||||||
%span.wikiSeparator >
|
%span.divider /
|
||||||
= @page.title
|
%li.active= @page.title
|
||||||
|
|
||||||
|
|
||||||
#wikiContent
|
#wikiContent
|
||||||
|
|
Loading…
Reference in a new issue