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,27 @@
{{ 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>Unsubscribed!</h1>
<p>
You will not receive any further emails from Report Mosquitoes Online.
</p>
<p>
If this was an accident, or you changed your mind, you can
<a href="/email/confirm">re-subscribe</a>
</p>
</div>
</section>
</main>
{{ end }}