Fix html and base template

This commit is contained in:
Daniel Flanagan 2020-07-14 17:52:42 -05:00
parent e750983f76
commit dca17ddd49
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 23 additions and 29 deletions

View file

@ -10,8 +10,7 @@ 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">
<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" />
@ -29,5 +28,4 @@ Email me at daniel@lyte.dev or use the form below.
</fieldset>
<input type="hidden" name="_next" value="/thanks" />
<input type="hidden" name="_subject" value="Contact Form Submission - lytedev" />
</form>
</p>
</form>

View file

@ -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>