feat(postcard): header, logo, footer and padding in the system and minimal layouts

- system.htm: the header partial (logo or site name) above the card and
  the copyright footer below it; its text wrapper ends with the footer
- brand CSS: the system layout's content cell keeps WinterCMS's 35px
  side padding (the 35px 0 override is gone)
- minimal.htm: the logo above the message when logoUrl is set
- TestMailPartialsSmoke/built_in_layouts covers the three layouts and the
  inlined brand colour on the button in each
- 35-06 Task 3 (G-35-8)
This commit is contained in:
Jakub Zych
2026-11-13 21:17:02 +01:00
parent d320733510
commit 09a5338d9a
6 changed files with 74 additions and 18 deletions

View File

@@ -9,6 +9,7 @@ name = "Minimal"
<style type="text/css">{{ .brandCss }}{{ .css }}</style>
</head>
<body>
{{ .Content }}
{{ if .logoUrl }}<p><img src="{{ .logoUrl }}" class="logo" alt="{{ .siteName }}" /></p>
{{ end }}{{ .Content }}
</body>
</html>