Fix html and base template
This commit is contained in:
parent
e750983f76
commit
dca17ddd49
|
@ -10,8 +10,7 @@ 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>
|
||||||
<input type="text" name="name" placeholder="Daniel Flanagan" />
|
<input type="text" name="name" placeholder="Daniel Flanagan" />
|
||||||
|
@ -29,5 +28,4 @@ Email me at daniel@lyte.dev or use the form below.
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<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>
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue