diff --git a/doc-src/content/stylesheets/main.sass b/doc-src/content/stylesheets/main.sass index 8db1beab..f8e50822 100644 --- a/doc-src/content/stylesheets/main.sass +++ b/doc-src/content/stylesheets/main.sass @@ -24,7 +24,10 @@ body ul, ol list-style-position: inside padding-left: 10px - + .selected + font-weight: bold + a + +hover-link // Typography blockquote diff --git a/doc-src/lib/default.rb b/doc-src/lib/default.rb index 56953ade..e9c0649d 100644 --- a/doc-src/lib/default.rb +++ b/doc-src/lib/default.rb @@ -61,7 +61,15 @@ def item_tree(item) end child_html << "" end - %Q{
  • #{crumb}#{child_html}
  • } + css_class = nil + prefix = nil + suffix = nil + if item.identifier == @item.identifier + css_class = %Q{class="selected"} + prefix = "»" + suffix = "«" + end + %Q{
  • #{prefix}#{crumb}#{suffix}
  • #{child_html}} end