From f8b02895b8ec9088331151bb5e69d402bed3c479 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 24 Sep 2021 19:16:05 -0700 Subject: [PATCH] + Special layout just for the links page so its not garbage ! This is also a test for a future layout for the e-begging page but whateves --- .../shockrah.xyz/layouts/contact/baseof.html | 16 +++++++++++ .../shockrah.xyz/layouts/contact/single.html | 28 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 themes/shockrah.xyz/layouts/contact/baseof.html create mode 100644 themes/shockrah.xyz/layouts/contact/single.html diff --git a/themes/shockrah.xyz/layouts/contact/baseof.html b/themes/shockrah.xyz/layouts/contact/baseof.html new file mode 100644 index 0000000..e87b845 --- /dev/null +++ b/themes/shockrah.xyz/layouts/contact/baseof.html @@ -0,0 +1,16 @@ + + + {{- partial "head.html" . -}} + +
+ {{- partial "header.html" . -}} +
+
+ {{- block "main" . -}}{{- end -}} +
+
+
+ {{- partial "footer.html" . -}} + + + diff --git a/themes/shockrah.xyz/layouts/contact/single.html b/themes/shockrah.xyz/layouts/contact/single.html new file mode 100644 index 0000000..ece7162 --- /dev/null +++ b/themes/shockrah.xyz/layouts/contact/single.html @@ -0,0 +1,28 @@ +{{ define "main" }} +

{{ .Title }}

+{{ .Content }} + {{ range .Params.links }} + {{ $color := "#1f8dd6" }} + {{ if ne .target.color nil }} + {{ $color = .target.color }} + {{ end }} +
+ {{.target.name}} - {{.target.title}} +

{{.target.description}}

+ + + +
+ {{ end }} + +{{ end }} +