Rework template system, merge templates

The embedded portion doesn't work yet.
This commit is contained in:
Eli Ribble 2026-02-07 05:51:21 +00:00
parent eb6e54a0f7
commit 0265e9d3ec
No known key found for this signature in database
163 changed files with 11637 additions and 9183 deletions

View 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 }}