diff --git a/themes/openpowerfoundation/layouts/persons/single.html b/themes/openpowerfoundation/layouts/persons/single.html new file mode 100644 index 0000000..9277153 --- /dev/null +++ b/themes/openpowerfoundation/layouts/persons/single.html @@ -0,0 +1,35 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} +
+
+
+
+
+

{{ .Title }}

+
+
+ {{ if .Param "image" }} +
+
 
+
+ {{ $imagename := .Param "image" }} + {{ $imagelocation := (printf "%s/%s" "images/persons/" $imagename) }} + {{ $imageresource := resources.Get $imagelocation }} + {{ if $imageresource }} +
+ {{ $image := $imageresource.Fit "600x600 webp" }} + {{ .Title }} +
+ {{ end }} +
+
 
+
+ {{ end }} +
+
 
+
{{ .Content }}
+
 
+
+
+
+{{ partial "footer.html" . }}