################################################################################ # Given that `middleman-pagegroups` is an extension and not a template, we # don’t have partials. However we are capable of building the partials using # the CLI, and using this same code base provide helpers. # # Because of recursion, `MM_TOC_INDEX` will only be used to build a partial; # the helper internally generates identical output but is constructed just a # bit differently. ################################################################################ module MMPartials MM_BREADCRUMBS = < (defined?(klass) && klass) || nav_breadcrumbs_class} %ul - pages.each do |p| %li= link_to p.data.title, p -# - This partial renders links into an