Files
summercms/modules/postcard/assets/minimal.htm
Jakub Zych 09a5338d9a 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)
2026-11-13 21:17:02 +01:00

16 lines
338 B
HTML

name = "Minimal"
==
{{ .Content }}
==
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">{{ .brandCss }}{{ .css }}</style>
</head>
<body>
{{ if .logoUrl }}<p><img src="{{ .logoUrl }}" class="logo" alt="{{ .siteName }}" /></p>
{{ end }}{{ .Content }}
</body>
</html>