Sha256: 0bb667007f23c6c18a381c8d18c463d918af0eb2cb29b9b07f3ce79fcabd0cdb

Contents?: true

Size: 601 Bytes

Versions: 16

Compression:

Stored size: 601 Bytes

Contents

<header><?r
	page_path = first.node.uri_path.dirname
	
	Utopia::Path[page_path].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
?></header>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
utopia-project-0.20.1 pages/_header.xnode
utopia-project-0.20.0 pages/_header.xnode
utopia-project-0.19.1 pages/_header.xnode
utopia-project-0.19.0 pages/_header.xnode
utopia-project-0.18.1 pages/_header.xnode
utopia-project-0.18.0 pages/_header.xnode
utopia-project-0.17.4 pages/_header.xnode
utopia-project-0.17.3 pages/_header.xnode
utopia-project-0.17.2 pages/_header.xnode
utopia-project-0.17.1 pages/_header.xnode
utopia-project-0.17.0 pages/_header.xnode
utopia-project-0.16.0 pages/_header.xnode
utopia-project-0.15.5 pages/_header.xnode
utopia-project-0.15.4 pages/_header.xnode
utopia-project-0.15.3 pages/_header.xnode
utopia-project-0.15.2 pages/_header.xnode