This repository has been archived on 2022-09-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
tlaternet-templates/src/mail/mail.pug

52 lines
1.5 KiB
Text

extends ../lib/pug/base
block content
h1.head-line Contact me
.row
//- The form
.col-md-6
form#sendmail(role="form", action="{{ url_for('mail') }}", method="post")
//- The sender address
.form-group
label.control-label(for="mail") Email address
input#mail.form-control(
type="email",
placeholder="Your address",
name="mail",
required
)
//- The subject line
.form-group
label.control-label(for="subject") Subject
input#subject.form-control(
type="text",
placeholder="E.g. There's a typo on your home page!",
name="subject",
autocomplete="off",
required
)
//- The message box
.form-group
label.control-label(for="message") Message
textarea#message.form-control(
type="text",
rows="6",
name="message",
autocomplete="off",
required
)
button.btn.btn-primary(type="submit", form="sendmail") Send
.col-md-6
:markdown-it
Any messages you enter here are directly forwarded to me. I aim to
respond within a day.
Don't be upset about the form, I want to avoid the spam
publishing your email address brings with it... And minimize
the amount of mail that doesn't reach me, this form is an
exception in all my spam filters, you see ;)