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

10 lines
235 B
Text
Raw Normal View History

---
title: non-localized Home
---
Current locale: <%= I18n.locale %>
path: <%=
hierarchy = [current_page]
hierarchy.unshift hierarchy.first.parent while hierarchy.first.parent
hierarchy.collect {|page| page.data.title }.join(" # ")
%>