From 55ee7ee2e5c91951aea0d6e817516aded2177c44 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Fri, 25 Feb 2022 20:45:40 +0100 Subject: [PATCH] Add: about template --- layouts/static/about.html | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 layouts/static/about.html diff --git a/layouts/static/about.html b/layouts/static/about.html new file mode 100644 index 0000000..f30dfe8 --- /dev/null +++ b/layouts/static/about.html @@ -0,0 +1,69 @@ +{{ define "main" }} + +{{ partial "navigation.html" . }} + +{{ partial "bradcrumb.html" . }} + +{{ $data := index site.Data.about }} + +{{"" | safeHTML}} + +{{ with $data.about }} +
+
+
+
+
+

{{ with .title }} {{ index (split . " ") 0 | safeHTML }} {{ end }} + {{ with .title }} {{ after (len (index (split . " ") 0)) . | safeHTML }} {{ end }}

+
+

{{ .subtitle }}

+
+
+
+
+
+ +
+
+ {{ range .sections }} + {{- $align := .align}} + {{- $original := resources.Get .image -}} + {{ $image := $original.Fit "512x512" }} +
+
+ ... +
+ +
+

+ {{ .title }} +

+ +
+ {{ .subtitle }} +
+ +

+ {{ .content }} +

+
+
+ {{ end }} +
+
+ +{{ end }} + +{{"" | safeHTML}} + +{{ partial "site_statics.html" . }} + +{{ end }} \ No newline at end of file