{{template "layout.html" .}}
{{define "title"}}Legends Browser{{end}}
{{define "content"}}
{{- if ne world.Name "" -}}
{{world.Name}} - {{world.Altname}}
{{- end }}
{{ if world.MapReady }}
{{initMap}}
{{- range .Landmasses }}
{{ addLandmass .Id }}
{{- end }}
{{- range .Regions }}
{{ addRegion .Id }}
{{- end }}
{{- range .Sites }}
{{ addSite .Id true }}
{{- end }}
{{- range .MountainPeaks }}
{{ addMountain .Id true }}
{{- end }}
{{- range .WorldConstructions }}
{{ addWorldConstruction .Id }}
{{- end }}
{{- range $id, $r := .Rivers }}
{{ addRiver $id }}
{{- end }}
{{ else }}
No map data available
{{- end }}
{{- end }}