sorry i did it too fast
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -10,6 +10,8 @@ other = "Let's Chat"
|
||||||
other = "Name"
|
other = "Name"
|
||||||
[email]
|
[email]
|
||||||
other = "Email"
|
other = "Email"
|
||||||
|
[mail]
|
||||||
|
other = "distorsion@groupes.renater.fr"
|
||||||
[subject]
|
[subject]
|
||||||
other = "Subject"
|
other = "Subject"
|
||||||
[message]
|
[message]
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
12
themes/distorsion/layouts/partials/contact.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{{ if or (.Site.Params.ajaxFormspree) (.Site.Params.ajaxBasin) }}
|
||||||
|
<section class="contact" id="contact">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<h1>{{ i18n "mail" }}</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
|
@ -1,30 +0,0 @@
|
||||||
{{ if or (.Site.Params.ajaxFormspree) (.Site.Params.ajaxBasin) }}
|
|
||||||
<section class="contact" id="contact">
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12">
|
|
||||||
<h1>{{ i18n "letsChat" }}</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form id="form-contact" action="{{ if .Site.Params.ajaxFormspree }}https://formspree.io/{{ .Site.Params.email }}{{ else if .Site.Params.ajaxBasin }}{{ .Site.Params.ajaxBasin }}{{ end }}" method="POST">
|
|
||||||
<div class="row center-xs">
|
|
||||||
<div class="col-xs-12 col-sm-6"><input type="text" name="name" aria-label="name" placeholder="{{ i18n "name" }}" required></div>
|
|
||||||
<div class="col-xs-12 col-sm-6"><input type="email" id="email" name="email" aria-label="email address" placeholder="{{ i18n "email" }}" required></div>
|
|
||||||
<div class="col-xs-12"><input type="text" name="_subject" aria-label="email subject" placeholder="{{ i18n "subject" }}" required></div>
|
|
||||||
<div class="col-xs-12"><textarea name="message" aria-label="email message" placeholder="{{ i18n "message" }}" required></textarea></div>
|
|
||||||
{{ if .Site.Params.ajaxFormspree }}
|
|
||||||
<input type="text" name="_gotcha" style="display:none">
|
|
||||||
<input type="hidden" name="_next" value="/">
|
|
||||||
{{ end }}
|
|
||||||
<div class="col-xs-12 contact-submit">
|
|
||||||
<input id="form-submit" type="submit" value="{{ i18n "send" }}">
|
|
||||||
<span id="form-thankyou" style="visibility:hidden">{{ i18n "thanksForYourEmail" }}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{{ end }}
|
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
@ -4,7 +4,7 @@ licenselink = "https://github.com/tomanistor/osprey/blob/master/LICENSE.md"
|
||||||
description = "Clean, responsive one-page portfolio accompanied by a minimalist blog."
|
description = "Clean, responsive one-page portfolio accompanied by a minimalist blog."
|
||||||
homepage = "https://github.com/tomanistor/osprey"
|
homepage = "https://github.com/tomanistor/osprey"
|
||||||
tags = ["blog", "portfolio", "gallery", "minimalist", "responsive", "flexbox"]
|
tags = ["blog", "portfolio", "gallery", "minimalist", "responsive", "flexbox"]
|
||||||
features = ["blog", "portfolio", "google analytics"]
|
features = ["blog", "portfolio"]
|
||||||
min_version = "0.5"
|
min_version = "0.5"
|
||||||
|
|
||||||
[author]
|
[author]
|