middleman/middleman-core/fixtures/i18n-mixed-sources/source/a/sub.html.erb

9 lines
231 B
Text

---
title: a/sub.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(" # ")
%>