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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user