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,7 +10,6 @@ description: "Need to get in touch?"
Email me at daniel@lyte.dev or use the form below. 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> <fieldset>
<label name="name">Full Name</label> <label name="name">Full Name</label>
@ -30,4 +29,3 @@ Email me at daniel@lyte.dev or use the form below.
<input type="hidden" name="_next" value="/thanks" /> <input type="hidden" name="_next" value="/thanks" />
<input type="hidden" name="_subject" value="Contact Form Submission - lytedev" /> <input type="hidden" name="_subject" value="Contact Form Submission - lytedev" />
</form> </form>
</p>

View file

@ -1,17 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
{{ block "head-begin" . }}{{ end }}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ block "title" . }} {{ block "head-begin" . }}{{ end }}
{{ .Site.Title }} <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{ end }}</title>
<link rel="shortcut icon" href="/icon.png" /> <link rel="shortcut icon" href="/icon.png" />
<link rel="stylesheet" href="/styles.css" /> <link rel="stylesheet" href="/styles.css" />
{{ block "head-end" . }}{{ end }} {{ block "head-end" . }}{{ end }}
</head> </head>
<body> <body>
{{ block "body-begin" . }}{{ end }}
<header> <header>
<section> <section>
<a href="/"><img src="/icon.png" /></a> <a href="/"><img src="/icon.png" /></a>
@ -28,11 +27,8 @@
{{ end }} {{ end }}
</section> </section>
</header> </header>
{{ block "body-begin" . }}{{ end }}
<main> <main>
{{ block "main" . }} {{ block "main" . }}{{ .Content }}{{ end }}
{{ .Content }}
{{ end }}
</main> </main>
{{ block "body-end" . }}{{ end }} {{ block "body-end" . }}{{ end }}
</body> </body>