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

10 lines
235 B
Plaintext

---
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(" # ")
%>