lib/nanoc/helpers/breadcrumbs.rb in nanoc-3.7.4 vs lib/nanoc/helpers/breadcrumbs.rb in nanoc-3.7.5
- old
+ new
@@ -1,13 +1,11 @@
# encoding: utf-8
module Nanoc::Helpers
-
# Provides support for breadcrumbs, which allow the user to go up in the
# page hierarchy.
module Breadcrumbs
-
# Creates a breadcrumb trail leading from the current item to its parent,
# to its parent’s parent, etc, until the root item is reached. This
# function does not require that each intermediate item exist; for
# example, if there is no `/foo/` item, breadcrumbs for a `/foo/bar/` item
# will contain a `nil` element.
@@ -27,9 +25,7 @@
trail << @items[identifier]
end
trail
end
-
end
-
end