From 7a7fac3cd65d9b4de0257e6ad8adaa2fea754617 Mon Sep 17 00:00:00 2001 From: brooke Date: Sun, 16 Jun 2024 15:10:40 -0400 Subject: [PATCH] update to use confiig --- layouts/_default/home.html | 16 ++++++++-------- layouts/partials/ascii.html | 8 ++++++++ layouts/partials/head.html | 10 +++++++--- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 275c391..a9c4c4d 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -2,34 +2,34 @@
title: - '{{ .Params.title }}' + '{{ .Site.Params.title }}' ,
body: - '{{ .Params.body }}', + '{{ .Site.Params.body }}',
"Q & A": [ {{ range .Params.faq }} + >"Q & A": [ {{ range .Site.Params.faq }}
{
- question: + Q: '{{ .question }}',
- answer: + A: '{{ .answer }}'
-
}, +
}
{{ end }} ],
contact: {
- {{ range .Params.contact }} + {{ range .Site.Params.contact }}
"{{ .service }}": - '{{ .input }}',
+ '{{ .input }}'
{{ end }}
diff --git a/layouts/partials/ascii.html b/layouts/partials/ascii.html index 7c200ec..6465956 100644 --- a/layouts/partials/ascii.html +++ b/layouts/partials/ascii.html @@ -6,3 +6,11 @@ / // // // `-._,_)' // / ``--...____..-' /// / // Ascii Art by: Felix Lee + +
+  |\      _,,,---,,_
+  ZZZzz /,`.-'`'    -.  ;-;;,_
+       |,4-  ) )-,_. ,\ (  `'-'
+      '---''(_/--'  `-'\_)
+        Ascii Art by: Felix Lee 
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6312251..43978b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,4 +1,8 @@ - - -{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} + + + + + + + {{ partialCached "head/css.html" . }}