static/frontend/unit: update page titles for unit tabs
The tab page titles are updated as follows:
<unit name> {package,module,directory} <tab name>
Trust: Jamal Carvalho
Run-TryBot: Jamal Carvalho
TryBot-Result: kokoro
license that can be found in the LICENSE file.
-->
-{{define "title"}}<title>{{.Title}} {{if ne .PageType "std"}}{{.PageType}} - {{.Unit.Path}}{{end}} - pkg.go.dev</title>{{end}}
+{{define "title"}}
+ <title>
+ {{.Title}} {{if ne .PageType "std"}}{{.PageType}}{{end}} {{.SelectedTab.Name}} {{if ne .PageType "std"}} - {{.Unit.Path}}{{end}} - pkg.go.dev
+ </title>
+{{end}}
{{define "description"}}{{.MetaDescription}}{{end}}
