{{ define "main" }}
{{ with .Params.category }}

{{ . }}

{{ end }}

{{ .Title }}

{{ with .Params.tagline }}

{{ . }}

{{ end }} {{ if or .Params.replaces .Params.website }}
{{ with .Params.replaces }}
Use instead of
{{ partial "replaces.html" $ }}
{{ end }} {{ with .Params.address }}
Typical address
{{ . }}
{{ end }} {{ with .Params.website }}
Project website
{{ . | strings.TrimPrefix "https://" | strings.TrimSuffix "/" }}
{{ end }} {{ with .Params.upstreamDocs }}
Official docs
{{ . | strings.TrimPrefix "https://" | strings.TrimSuffix "/" }}
{{ end }}
{{ end }}
{{ .Content }}
{{ with .Params.links }}

Further reading

{{ end }} {{ partial "pager.html" . }}
{{ if and (ge (len .TableOfContents) 80) (ne .Params.toc false) }} {{ end }}
{{ end }}