Sha256: 22e05a65bca1862cc1975e09fc5e67a232378bbd0e6d16d150e51bdc84705a82
Contents?: true
Size: 596 Bytes
Versions: 22
Compression:
Stored size: 596 Bytes
Contents
<nav><?r page_path = first.node.uri_path Utopia::Path[page_path.dirname].descend do |path| unless path.last path = path + "index" end if link = links(path.dirname, name: path.last, locale: localization.current_locale, indices: true).first ?> › #{link.to_href}<?r else ?> › <span>#{path.last}</span><?r end end if localization.localized? ?> • (<?r localization.all_locales.each.with_index do |locale, index| ?>#{index.zero? ? '' : ' '}<a href="#{localization.localized_path(page_path, locale)}">#{locale}</a><?r end ?>)<?r end ?></nav>
Version data entries
22 entries across 22 versions & 1 rubygems