Rework template system, merge templates
The embedded portion doesn't work yet.
This commit is contained in:
parent
eb6e54a0f7
commit
0265e9d3ec
163 changed files with 11637 additions and 9183 deletions
25
html/template/rmo/email-subscribe-confirm.html
Normal file
25
html/template/rmo/email-subscribe-confirm.html
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{{ template "rmo/base.html" . }}
|
||||
|
||||
{{ define "title" }}Main{{ end }}
|
||||
{{ define "extraheader" }}
|
||||
{{ end }}
|
||||
{{ define "content" }}
|
||||
<!-- Main Content -->
|
||||
<main>
|
||||
<section class="py-2 bg-primary text-white">
|
||||
<div class="banner-container d-flex justify-content-center">
|
||||
<img class="banner" src="/static/img/rmo/banner.jpg" />
|
||||
</div>
|
||||
</section>
|
||||
<section class="py-3 row text-center">
|
||||
<div class="container">
|
||||
<h1>Thanks!</h1>
|
||||
<p>
|
||||
You've allowed emails from Report Mosquitoes Online to {{ .Email }}.
|
||||
</p>
|
||||
<p>Go ahead and close this page/tab/window whenever you're ready...</p>
|
||||
<p>...or maybe <a href="/">check out the site</a></p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue