pidgin/nest

[Minor] Content Jiggle

2019-12-29, Jason
30dccbc81b73
[Minor] Content Jiggle

Rearrange content to be easier to navigate and less noisy on the menu bar

I think it's important to arrange the site to be optimised for non -technical end-users. So development oriented content needs to be contained to its own section. While end-user oriented content is accesible at first glance

I've moved content arround, merged some section, renamed some sections and reweighted.
<section class="supporters">
<b>{{ T "Our-Supporters" }}</b>
<div>
{{ range .Site.Data.supporters }}
{{ $url := urls.Parse .badge }}
{{ $style := "" }}
{{ if .style }}
{{ $style = printf "style=\"%s\"" .style }}
{{ end }}
{{ if $url.Scheme }}{{/* Absolute path */}}
<a href="{{ .url | safeHTMLAttr }}">
<img src="{{ .badge }}" alt="{{ .name | safeHTMLAttr }}" {{ $style | safeHTMLAttr }}/>
</a>
{{ else }}
<a href="{{ .url | safeHTMLAttr }}">
<img src="/images/badges/{{ .badge }}" alt="{{ .name | safeHTMLAttr }}" {{ $style | safeHTMLAttr }}/>
</a>
{{ end }}
{{ end }}
</div>
</section>