{{ $styles := resources.Get "sass/glossary.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
{{- $glossary := .Site.GetPage "/concepts/glossary" -}} {{- $words := $glossary.Resources.ByType "page" -}}
{{- $previous := "-" -}} {{ range $w := $words }} {{ $first := upper (slicestr $w.Title 0 1) }} {{ if ne $first $previous }} {{ if ne $previous "-" }} | {{ end }} {{ $first }} {{ $previous = $first }} {{ end }} {{ end }}
{{ $previous = "-" }} {{ range $w := $words }} {{ $first := upper (slicestr $w.Title 0 1) }} {{ if ne $first $previous }} {{ if ne $previous "-" }}
{{ end }}

{{ $first }}

{{ $previous = $first }} {{ end }} {{ $name := $w.Title | urlize }}
{{ $w.Title }}
{{ $w.Content }}
{{ end }}