From ab251b0fd01db72362ab0db65ecda7ae404e3001 Mon Sep 17 00:00:00 2001
From: Luke Smith
Date: Fri, 15 Apr 2022 13:45:10 -0400
Subject: begin adding authors to metadata
---
layouts/_default/single.html | 31 +++++++++++++++++++++++++++++++
layouts/index.html | 2 +-
2 files changed, 32 insertions(+), 1 deletion(-)
create mode 100644 layouts/_default/single.html
(limited to 'layouts')
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..38f5805
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,31 @@
+{{ partial "header.html" . }}
+
+
+
+{{ .Content }}
+
+{{ $author := index .Site.Data.authors (.Params.author | default "default") }}
+{{- if $author -}}
+Contributor(s)
+
+{{- end -}}
+
+{{ partial "footer.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 2733cde..86d9d0c 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -27,7 +27,7 @@ h2 { text-align: center ;}
See the story of this site unfold in three videos:
- - A Demonstration of Moderno Web Bloat
+ - A Demonstration of Modern Web Bloat
- The War Against Web Bloat Continues
- SoyDevs DESTROYED Epic Style by Based Cooking
--
cgit v1.2.3