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

10 lines
234 B
Text
Raw Normal View History

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