Fix html and base template
This commit is contained in:
parent
e750983f76
commit
dca17ddd49
2 changed files with 23 additions and 29 deletions
|
@ -10,24 +10,22 @@ description: "Need to get in touch?"
|
|||
|
||||
Email me at daniel@lyte.dev or use the form below.
|
||||
|
||||
<p>
|
||||
<form action="https://formspree.io/daniel@lyte.dev" method="POST">
|
||||
<fieldset>
|
||||
<label name="name">Full Name</label>
|
||||
<input type="text" name="name" placeholder="Daniel Flanagan" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label name="_replyto">Email</label>
|
||||
<input type="email" name="_replyto" placeholder="you@example.com" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label name="content">Message</label>
|
||||
<textarea name="content" rows="4"></textarea>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<input class="button primary" type="submit" value="Send" />
|
||||
</fieldset>
|
||||
<input type="hidden" name="_next" value="/thanks" />
|
||||
<input type="hidden" name="_subject" value="Contact Form Submission - lytedev" />
|
||||
</form>
|
||||
</p>
|
||||
<form action="https://formspree.io/daniel@lyte.dev" method="POST">
|
||||
<fieldset>
|
||||
<label name="name">Full Name</label>
|
||||
<input type="text" name="name" placeholder="Daniel Flanagan" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label name="_replyto">Email</label>
|
||||
<input type="email" name="_replyto" placeholder="you@example.com" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label name="content">Message</label>
|
||||
<textarea name="content" rows="4"></textarea>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<input class="button primary" type="submit" value="Send" />
|
||||
</fieldset>
|
||||
<input type="hidden" name="_next" value="/thanks" />
|
||||
<input type="hidden" name="_subject" value="Contact Form Submission - lytedev" />
|
||||
</form>
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{ block "head-begin" . }}{{ end }}
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ block "title" . }}
|
||||
{{ .Site.Title }}
|
||||
{{ end }}</title>
|
||||
{{ block "head-begin" . }}{{ end }}
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link rel="shortcut icon" href="/icon.png" />
|
||||
<link rel="stylesheet" href="/styles.css" />
|
||||
{{ block "head-end" . }}{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
{{ block "body-begin" . }}{{ end }}
|
||||
<header>
|
||||
<section>
|
||||
<a href="/"><img src="/icon.png" /></a>
|
||||
|
@ -28,11 +27,8 @@
|
|||
{{ end }}
|
||||
</section>
|
||||
</header>
|
||||
{{ block "body-begin" . }}{{ end }}
|
||||
<main>
|
||||
{{ block "main" . }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ block "main" . }}{{ .Content }}{{ end }}
|
||||
</main>
|
||||
{{ block "body-end" . }}{{ end }}
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue