dot-hugo/layouts/contact/list.html

52 lines
1.3 KiB
HTML
Raw Normal View History

{{ define "main" }}
2019-01-06 10:40:05 +00:00
2022-01-30 05:10:45 +00:00
<!-- contact -->
2019-01-06 10:40:05 +00:00
<section class="section">
<div class="container">
<div class="row">
<div class="col-12">
<h2 class="section-title text-primary">{{ .Title }}</h2>
{{ .Content }}
2022-01-30 05:10:45 +00:00
<form
action="{{ .Site.Params.contact_form_action | safeURL }}"
method="POST"
>
<input
type="text"
id="name"
name="name"
placeholder="Name"
class="form-control mb-4 shadow rounded-0"
/>
<input
type="email"
id="mail"
name="mail"
placeholder="Email"
class="form-control mb-4 shadow rounded-0"
/>
<input
type="text"
id="subject"
name="subject"
placeholder="Subject"
class="form-control mb-4 shadow rounded-0"
/>
<textarea
name="message"
id="message"
placeholder="Message"
class="form-control mb-4 shadow rounded-0"
></textarea>
<button type="submit" value="send" class="btn btn-primary">
{{ i18n "send" }}
</button>
2019-01-06 10:40:05 +00:00
</form>
</div>
</div>
</div>
</section>
2022-01-30 05:10:45 +00:00
<!-- /contact -->
2019-01-06 10:40:05 +00:00
{{ end }}