{{/* The SourceHut chrome. The brand, the service switcher, the login block and the environment banner are NOT rendered here: they come from sr-ht-ecore's shared partials ("srht-env-banner", "srht-nav"), which every custom service on this instance draws from one copy. The dot is a handler's view struct, which embeds chrome.Page, so the fields those partials read promote into it. What is left here is the document itself and the content hole. The wrapper's width is .ContainerClass rather than a literal "container": the row browser hands out "container-fluid" so a wide table gets the whole viewport, and every other page gets the centered default chrome.Page already carries. */}} {{define "layout" -}} {{.Title}} {{/* Guarded rather than emitted empty: re-requests the page it is on, which is one extra page load per page load. */}} {{if .StyleHref}}{{end}} {{template "srht-env-banner" .}}
{{template "content" .}}
{{- end}}