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
			?> &rsaquo; #{link.to_href}<?r
		else
			?> &rsaquo; <span>#{path.last}</span><?r
		end
	end
	
	if localization.localized?
		?> &bull; (<?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

Version Path
utopia-project-0.11.2 pages/_navigation.xnode
utopia-project-0.11.1 pages/_navigation.xnode
utopia-project-0.11.0 pages/_navigation.xnode
utopia-project-0.10.0 pages/_navigation.xnode
utopia-project-0.9.0 pages/_navigation.xnode
utopia-project-0.8.4 pages/_navigation.xnode
utopia-project-0.8.3 pages/_navigation.xnode
utopia-project-0.8.2 pages/_navigation.xnode
utopia-project-0.8.1 pages/_navigation.xnode
utopia-project-0.8.0 pages/_navigation.xnode
utopia-project-0.7.1 pages/_navigation.xnode
utopia-project-0.7.0 pages/_navigation.xnode
utopia-project-0.6.2 pages/_navigation.xnode
utopia-project-0.6.1 pages/_navigation.xnode
utopia-project-0.6.0 pages/_navigation.xnode
utopia-project-0.5.1 pages/_navigation.xnode
utopia-project-0.5.0 pages/_navigation.xnode
utopia-project-0.4.0 pages/_navigation.xnode
utopia-project-0.3.0 pages/_navigation.xnode
utopia-project-0.2.1 pages/_navigation.xnode