aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml (renamed from templates/page/base.gohtml)6
-rw-r--r--templates/base/opengraph.gohtml (renamed from templates/page/opengraph.gohtml)0
-rw-r--r--templates/page/index.gohtml12
3 files changed, 12 insertions, 6 deletions
diff --git a/templates/page/base.gohtml b/templates/base/base.gohtml
index 2de2ba4..5859805 100644
--- a/templates/page/base.gohtml
+++ b/templates/base/base.gohtml
@@ -10,13 +10,7 @@
{{template "opengraph-base" .SEO}}
</head>
<body>
- {{if .Data.HasNav}}
- {{template "navbar" .}}
- {{end}}
{{template "body" .}}
- {{if .Data.HasFooter}}
- {{template "footer" .}}
- {{end}}
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>
</html>
diff --git a/templates/page/opengraph.gohtml b/templates/base/opengraph.gohtml
index f51d561..f51d561 100644
--- a/templates/page/opengraph.gohtml
+++ b/templates/base/opengraph.gohtml
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
new file mode 100644
index 0000000..dbc228a
--- /dev/null
+++ b/templates/page/index.gohtml
@@ -0,0 +1,12 @@
+{{define "body"}}
+ <main>
+ <div class="presentation">
+ <figure>
+ <img src="{{ getStaticPath .Person.Image }}" alt="{{ .Person.Name }}'s image">
+ </figure>
+ <h2>{{ .Person.Name }}</h2>
+ <p>{{ .Person.Pronouns }}</p>
+ </div>
+ <p class="description">{{ .Description }}</p>
+ </main>
+{{end}} \ No newline at end of file