add mailing list section as partial

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1691128968110617338/master
Toshaan Bharvani 3 years ago
parent 33bdb22eac
commit 7a2dc9f609

@ -89,12 +89,13 @@
</div> </div>
</div> </div>
</section> </section>
<section class="teaser__section _navy py-4 py-lg-5 my-lg-5"> <section class="teaser__section _navy py-4">
<div class="container text-center pb-4 pb-lg-0"> <div class="container text-center pb-4 pb-lg-0">
<h2 class="teaser__title">{{ .Param "subscribe.title" }}</h2> <h2 class="teaser__title">{{ .Param "subscribe.title" }}</h2>
{{ range .Param "subscribe.p" }} {{ range .Param "subscribe.p" }}
<p>{{ . }}</p> <p>{{ . }}</p>
{{ end }} {{ end }}
{{ partial "mailmonk.html" "6a6d8000-0548-44f6-8d15-e7398267e81e" }}
</div> </div>
</section> </section>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

@ -0,0 +1,15 @@
{{ $list := . }}
<div class="form">
<form class="mailmonk-form" id="mailmonk-form" action="https://mailing.openpower.foundation/subscription/form" method="post">
<div class="form-row">
<div class="form-group col-lg-6"><input type="text" class="form-control" name="email" placeholder="E-mail"></div>
<div class="form-group col-lg-6"><input type="text" class="form-control" name="name" placeholder="Name (optional)"></div>
</div>
<div class="form-row">
<div class="form-group col-lg-12">
<input id="{{ substr $list 0 5 }}" type="hidden" name="l" checked value="{{ $list }}">
<button class="btn btn-outline-primary" type="submit" value="Subscribe">Subscribe</button>
</div>
</div>
</form>
</div>
Loading…
Cancel
Save