{{ if ne (.Get "spacekey") "" }}
	<label class="broken" title="lien d'espace cassé">{{.Get "pagename" | htmlUnescape}}</label>
{{else}}
	{{$pages := where .Site.AllPages "Title" (( $.Get "pagename") | htmlUnescape ) }}
	{{ if eq 0 (len $pages) }}
		<label class="broken" title="lien cassé">{{.Get "pagename" | htmlUnescape}}</label>
	{{else}}
		{{ range $pages }}
			<a href="{{$.Site.BaseURL}}{{.Params.slug | lower}}">{{$.Inner}}</a>
		{{end}}
	{{ end }}
{{end}}