Files
summercms/modules/postcard/assets/partials/footer.htm
Jakub Zych 15d3e6fb8d fix(postcard): print the site name literally in the built-in layouts' footer
- the footer partial gains a text argument, printed as a paragraph
  through html/template and verbatim in the text part; body stays
  Markdown for callers that pass Markdown on purpose
- the default and system layouts pass the copyright line as text, so
  *Acme*, Acme <Studio> and [x](url) appear as typed, as in the header
  (WR-01)
- README partial table, layouts and Branding paragraphs; docs partials
  table and built-in layouts paragraph
- TestMailSafetySmoke/literal_footer
2026-11-14 15:29:57 +01:00

17 lines
341 B
HTML

name = "Footer"
==
-------------------
{{ if .text }}{{ .text }}{{ else }}{{ .body }}{{ end }}
==
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="content-cell" align="center">
{{ if .text }}<p>{{ .text }}</p>{{ else }}{{ markdown .body }}{{ end }}
</td>
</tr>
</table>
</td>
</tr>