QDoc: Factor page head and footer into shared partials


Every page template in the template generator duplicates the same
twelve-line HTML head section and the same four-line page footer
markup. Six HTML templates and six Markdown templates all emit
identical DOCTYPE, opening tags, meta elements, title, and stylesheet
link in their head, and the same closing footer and document-level
closing tags at the end. Evolving any of this boilerplate means
repeating the same edit across twelve files, and inconsistencies
have a way of creeping in whenever a change lands in only some of
them.

The page head and footer now live in shared partials that every page
template includes. The HTML head partial carries the document-level
preamble and the stylesheet link; the HTML footer partial carries
the closing footer paragraph and document-level closing tags. The
Markdown footer partial carries the closing divider and attribution
line. Rendered output is byte-identical to the previous inline form;
this commit is a pure extraction without behavior change.

Task-number: QTBUG-145915
Change-Id: I2b52a0fd5bcd7290900b1aee92e090ce7bbfdefc
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit584ee9064db218bf3fe3406c773aa62bdf38cff2
parentb89f8d0d9abfed58cdb615e229352040763fb583
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 22 Apr 2026 07:48:07 +0000