middleman/middleman-core/fixtures/i18n-mixed-sources/source/b/index.html.erb

9 lines
233 B
Text

---
title: b/index.html.erb
---
Current locale: <%= I18n.locale %>
path: <%=
hierarchy = [current_page]
hierarchy.unshift hierarchy.first.parent while hierarchy.first.parent
hierarchy.collect {|page| page.data.title }.join(" # ")
%>