- 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
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
name = "Default"
|
|
==
|
|
{{ .Content }}
|
|
|
|
{{ $copy := printf "© %v" .year }}{{ with .siteName }}{{ $copy = printf "%s %s" $copy . }}{{ end }}{{ partial "footer" "text" $copy }}
|
|
==
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<style type="text/css">{{ .brandCss }}{{ .css }}</style>
|
|
</head>
|
|
<body>
|
|
<table class="wrapper layout-default" width="100%" cellpadding="0" cellspacing="0">
|
|
{{ if or .logoUrl .siteName }}{{ partial "header" "logo" .logoUrl "body" .siteName }}{{ end }}
|
|
<tr>
|
|
<td align="center">
|
|
<table class="content" width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td class="body" width="100%" cellpadding="0" cellspacing="0">
|
|
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td class="content-cell">
|
|
{{ .Content }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{{ $copy := printf "© %v" .year }}{{ with .siteName }}{{ $copy = printf "%s %s" $copy . }}{{ end }}{{ partial "footer" "text" $copy }}
|
|
</table>
|
|
</body>
|
|
</html>
|