Initial site

This commit is contained in:
Madison Scott-Clary
2021-08-20 21:45:56 -07:00
commit 117330b2cd
14 changed files with 95 additions and 0 deletions

View File

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@ -0,0 +1,6 @@
{{ define "main" }}
<main id="main">
<h1>{{ .Title }}</h1>
{{ .Content }}
</main>
{{ end }}

View File

@ -0,0 +1,3 @@
<footer>
<p>&copy; <a href="{{ .Site.Params.home }}">{{ .Site.Params.author }}</a> {{ .Site.Params.copyright }}</p>
</footer>

View File

@ -0,0 +1,9 @@
<header>
<h1>{{ .Site.Title }}</h1>
<nav>
<ul>
<li><a href="/">Home</a></li>
</ul>
</nav>
</header>

View File

@ -0,0 +1,3 @@
<head>
<title>{{ .Title }}</title>
</head>