From 2cc6bcc19a25338101a383ff665aec2ae6f97b85 Mon Sep 17 00:00:00 2001 From: avicndugu <37213663+avicndugu@users.noreply.github.com> Date: Mon, 30 Oct 2023 11:59:10 +0300 Subject: [PATCH 1/2] Team members names clickable point to own full page --- layouts/team/summary-large.html | 6 ++++-- layouts/team/summary.html | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/layouts/team/summary-large.html b/layouts/team/summary-large.html index d5bee09f..74f3f869 100644 --- a/layouts/team/summary-large.html +++ b/layouts/team/summary-large.html @@ -5,7 +5,9 @@ {{ end }}
-

{{ .Title }}

+

+ {{ .Title }} +

{{ .Params.Jobtitle }}

{{ if .Params.Linkedinurl }} LinkedIn {{ end }} @@ -14,4 +16,4 @@

{{ .Title }}

{{ .Content | truncate (.Site.Params.team.summary_large_truncate | default 120 ) "…" }}
- \ No newline at end of file + diff --git a/layouts/team/summary.html b/layouts/team/summary.html index 1dbff412..c513b290 100644 --- a/layouts/team/summary.html +++ b/layouts/team/summary.html @@ -5,11 +5,13 @@ {{ end }}
-

{{ .Title }}

+

+ {{ .Title }} +

{{ .Params.Jobtitle }}

{{ if .Params.Linkedinurl }} - LinkedIn + LinkedIn {{ end }}
- \ No newline at end of file + From daa3ffc0055cc8005450b67f872dc30f7079d1bd Mon Sep 17 00:00:00 2001 From: avicndugu <37213663+avicndugu@users.noreply.github.com> Date: Mon, 30 Oct 2023 12:04:34 +0300 Subject: [PATCH 2/2] Create layout for individual team member page --- layouts/team/single.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 layouts/team/single.html diff --git a/layouts/team/single.html b/layouts/team/single.html new file mode 100644 index 00000000..f7efb9dd --- /dev/null +++ b/layouts/team/single.html @@ -0,0 +1,25 @@ +{{ define "body_classes" }}page-default-single{{ end }} + +{{ define "main" }} +
+
+
+ {{ if .Params.image }} +
+ Photo of {{ .Title }} +
+ {{ end }} +
+
+

{{ .Title }}

+

{{ .Params.Jobtitle }}

+ {{ if .Params.Linkedinurl }} + LinkedIn + {{ end }} +
+
{{.Content}}
+
+
+
+
+{{ end }}